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
|
return self.transitioning
|
||||||
|
|
||||||
def toggleSleep(self):
|
def toggleSleep(self):
|
||||||
if base.localAvatar.noSleep:
|
base.localAvatar.noSleep = not base.localAvatar.noSleep
|
||||||
base.localAvatar.noSleep = 0
|
|
||||||
else:
|
|
||||||
base.localAvatar.noSleep = 1
|
|
||||||
|
|
||||||
def magicWordTeleport(self, zone):
|
def magicWordTeleport(self, zone):
|
||||||
hood = ZoneUtil.getHoodId(zone)
|
hood = ZoneUtil.getHoodId(zone)
|
||||||
|
|
Loading…
Reference in a new issue