toon: Sleep deprivation (seriously, why did I do it like that)
This commit is contained in:
parent
e16f614b39
commit
df3a690e51
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue