-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
| if 'z' in mapoptions or mapoptions[0].isdigit(): |
Likely this is me being dumb, but I tried:
!map -options -mapsize 60x60 -bg https://www.dungeonscrawl.com/_next/static/media/fortress.eba6fae5.png
and got
Traceback (most recent call last):
Line 87, col 28
if 'z' in mapoptions or mapoptions[0].isdigit():
^^^^^^^^^^^^^
IndexError: string index out of range
Not sure if the logic is wrong, or if this will always fail as if there is a - in there
!map -options -djdjdj
So I think the issue is in the assumption that maptoptions only followed by the correct format, maybe a quick linting of the next option
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels