toon: Sleep deprivation (seriously, why did I do it like that)

This commit is contained in:
Samuel T 2023-11-09 00:08:47 +00:00
parent e16f614b39
commit df3a690e51

View file

@ -2591,10 +2591,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
return self.transitioning
def toggleSleep(self):
if base.localAvatar.noSleep:
base.localAvatar.noSleep = 0
else:
base.localAvatar.noSleep = 1
base.localAvatar.noSleep = not base.localAvatar.noSleep
def magicWordTeleport(self, zone):
hood = ZoneUtil.getHoodId(zone)