From 5be4056d2f57b7810e726f0bf5400ed9c63cbbd7 Mon Sep 17 00:00:00 2001 From: demiurgeQuantified <8355611+demiurgeQuantified@users.noreply.github.com> Date: Fri, 19 May 2023 18:44:37 +0100 Subject: [PATCH] trolley: fix district crash when requesting a minigame --- toontown/spellbook/MagicWordIndex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/spellbook/MagicWordIndex.py b/toontown/spellbook/MagicWordIndex.py index aaf47da..efe856f 100644 --- a/toontown/spellbook/MagicWordIndex.py +++ b/toontown/spellbook/MagicWordIndex.py @@ -335,7 +335,7 @@ class Minigame(MagicWord): mgId = None mgDiff = None if difficulty == 0 else difficulty mgKeep = None - mgSzId = ZoneUtil.getSafeZoneId(toon.zoneId) if isTeleport else None + mgSzId = ZoneUtil.getSafeZoneId(toon.zoneId) if not any ((isTeleport, isRequest)): return f"Unknown command or minigame \"{command}\". Valid commands: \"teleport\", \"request\", or a minigame to automatically teleport or request"