mirror of
https://github.com/csd4ni3l/siege-calendar.git
synced 2026-01-01 20:43:47 +01:00
fix not converting to int before checking for maximum coffers addable
This commit is contained in:
@@ -128,7 +128,7 @@ q - Exit to home""", {"a": self.add_project, "q": self.home, "c": self.create_sh
|
|||||||
project_name = input("To add a ship event, please put the project's name here: ")
|
project_name = input("To add a ship event, please put the project's name here: ")
|
||||||
|
|
||||||
coffer_amount = ''
|
coffer_amount = ''
|
||||||
while not coffer_amount.isnumeric() or coffer_amount >= 999:
|
while not coffer_amount.isnumeric() or int(coffer_amount) >= 2500:
|
||||||
coffer_amount = input("Please enter the amount of coffers you got for the ship: ")
|
coffer_amount = input("Please enter the amount of coffers you got for the ship: ")
|
||||||
coffer_amount = int(coffer_amount)
|
coffer_amount = int(coffer_amount)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user