From 82d0bc20387d5fb06e4149435e6e8b09a0b258da Mon Sep 17 00:00:00 2001 From: John Date: Wed, 1 Jul 2015 15:21:28 +0300 Subject: [PATCH] Can't use book while swimming anymore --- toontown/toon/Toon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toontown/toon/Toon.py b/toontown/toon/Toon.py index afefa7d1..e6617404 100755 --- a/toontown/toon/Toon.py +++ b/toontown/toon/Toon.py @@ -1592,6 +1592,7 @@ class Toon(Avatar.Avatar, ToonHead): self.getGeomNode().setP(-89.0) self.dropShadow.hide() if self.isLocal(): + self.book.obscureButton(1) self.useSwimControls() self.nametag3d.setPos(0, -2, 1) self.startBobSwimTask() @@ -1644,6 +1645,7 @@ class Toon(Avatar.Avatar, ToonHead): self.dropShadow.show() if self.isLocal(): self.useWalkControls() + self.book.obscureButton(False) self.nametag3d.setPos(0, 0, self.height + 0.5) Emote.globalEmote.releaseAll(self, 'exitSwim')