mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
made set-observe not make the mob pass out
This commit is contained in:
@@ -410,6 +410,7 @@
|
||||
holder.state = 2
|
||||
update_admins(rank)
|
||||
if(!istype(mob, /mob/dead/observer))
|
||||
mob.admin_observing = 1
|
||||
mob.adminghostize(1)
|
||||
src << "\blue You are now observing"
|
||||
|
||||
|
||||
@@ -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