trolley: fix district crash when requesting a minigame
This commit is contained in:
parent
63051a26cf
commit
5be4056d2f
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ class Minigame(MagicWord):
|
||||||
mgId = None
|
mgId = None
|
||||||
mgDiff = None if difficulty == 0 else difficulty
|
mgDiff = None if difficulty == 0 else difficulty
|
||||||
mgKeep = None
|
mgKeep = None
|
||||||
mgSzId = ZoneUtil.getSafeZoneId(toon.zoneId) if isTeleport else None
|
mgSzId = ZoneUtil.getSafeZoneId(toon.zoneId)
|
||||||
|
|
||||||
if not any ((isTeleport, isRequest)):
|
if not any ((isTeleport, isRequest)):
|
||||||
return f"Unknown command or minigame \"{command}\". Valid commands: \"teleport\", \"request\", or a minigame to automatically teleport or request"
|
return f"Unknown command or minigame \"{command}\". Valid commands: \"teleport\", \"request\", or a minigame to automatically teleport or request"
|
||||||
|
|
Loading…
Reference in a new issue