Fix fgame bug, str.split has idiotic semantics in python

This commit is contained in:
skizzerz 2015-08-25 22:46:45 -05:00
parent 75c407c403
commit bb5cb78c68

View File

@ -8416,7 +8416,7 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
if rest: if rest:
gamemode = rest.strip().lower() gamemode = rest.strip().lower()
parts = gamemode.split("=", 2) parts = gamemode.split("=", 1)
if len(parts) > 1: if len(parts) > 1:
gamemode, modeargs = parts gamemode, modeargs = parts
else: else: