You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a "fail silently" fix that I can PR if desired. It just adds a try-catch block around the offending code, in case of an IndexError.
The text of the error is here:
/Users/<username>/code/armcom2/armcom2.py:2445: DeprecationWarning: Call the `con.print_` method instead.
libtcod.console_print(calendar_main_panel, 2, y, 'No crewmen currently in hospital')
Traceback (most recent call last):
File "/Users/<username>/code/armcom2/armcom2.py", line 18246, in <module>
campaign.DoCampaignCalendarLoop()
File "/Users/<username>/code/armcom2/armcom2.py", line 2857, in DoCampaignCalendarLoop
crewman = campaign.hospital[selected_hospital_crewman]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
That's good to know! I bought the game on Steam, but was out of town when I bought it and only had my macbook, so I downloaded from here and got it running on that machine.
I have a "fail silently" fix that I can PR if desired. It just adds a try-catch block around the offending code, in case of an IndexError.
The text of the error is here:
The text was updated successfully, but these errors were encountered: