mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Compilation fixes.
This commit is contained in:
@@ -915,7 +915,7 @@
|
|||||||
if(status_flags & GODMODE) return 0
|
if(status_flags & GODMODE) return 0
|
||||||
|
|
||||||
//SSD check, if a logged player is awake put them back to sleep!
|
//SSD check, if a logged player is awake put them back to sleep!
|
||||||
if(sleeping < 2 && species.show_ssd && (!client || !key || player_logged))
|
if(species.show_ssd && !client && !aghosted)
|
||||||
sleeping = 2
|
sleeping = 2
|
||||||
|
|
||||||
//SSD check, if a logged player is awake put them back to sleep!
|
//SSD check, if a logged player is awake put them back to sleep!
|
||||||
@@ -987,10 +987,8 @@
|
|||||||
adjustHalLoss(-3)
|
adjustHalLoss(-3)
|
||||||
if (mind)
|
if (mind)
|
||||||
//Are they SSD? If so we'll keep them asleep but work off some of that sleep var in case of stoxin or similar.
|
//Are they SSD? If so we'll keep them asleep but work off some of that sleep var in case of stoxin or similar.
|
||||||
if(player_logged)
|
if(client || sleeping > 3)
|
||||||
sleeping = max(sleeping-1, 2)
|
AdjustSleeping(-1)
|
||||||
else
|
|
||||||
sleeping = max(sleeping-1, 0)
|
|
||||||
blinded = 1
|
blinded = 1
|
||||||
stat = UNCONSCIOUS
|
stat = UNCONSCIOUS
|
||||||
animate_tail_reset()
|
animate_tail_reset()
|
||||||
|
|||||||
Reference in New Issue
Block a user