From eb2f347f09e758369359b31ae20eeae8a74917e6 Mon Sep 17 00:00:00 2001 From: Samuel T Date: Thu, 9 Nov 2023 01:18:57 +0000 Subject: [PATCH] spellbook: Fix Toon keeping old GM icon on switch --- toontown/spellbook/MagicWordIndex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/toontown/spellbook/MagicWordIndex.py b/toontown/spellbook/MagicWordIndex.py index 4cf08d8..fe26ce2 100644 --- a/toontown/spellbook/MagicWordIndex.py +++ b/toontown/spellbook/MagicWordIndex.py @@ -732,6 +732,7 @@ class SetGM(MagicWord): if iconRequest > len(TTLocalizer.GM_NAMES) or iconRequest < 0: return "Invalid GM icon ID!" + toon.b_setGM(0) # Reset it first, otherwise the Toon keeps the old icon, but the name still changes. toon.b_setGM(iconRequest) return f"GM icon set to {iconRequest} for {toon.getName()}"