Fix fgame bug, str.split has idiotic semantics in python
This commit is contained in:
parent
75c407c403
commit
bb5cb78c68
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user