mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
made set-observe not make the mob pass out
This commit is contained in:
@@ -183,13 +183,15 @@
|
||||
/mob/living/carbon/Logout()
|
||||
..()
|
||||
|
||||
if(!src.sleeping) // would be exploited by stoxin'd people otherwise ;)
|
||||
if(!src.sleeping && !src.admin_observing) // would be exploited by stoxin'd people otherwise ;)
|
||||
// (also make admins set-observing not sleep)
|
||||
src.sleeping = 1
|
||||
src.sleeping_willingly = 1
|
||||
|
||||
/mob/living/carbon/Login()
|
||||
..()
|
||||
|
||||
src.admin_observing = 0
|
||||
if(src.sleeping_willingly)
|
||||
src.sleeping = 0
|
||||
src.sleeping_willingly = 0
|
||||
Reference in New Issue
Block a user