mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
@@ -1,4 +1,6 @@
|
||||
/mob/living/carbon/human/Login()
|
||||
if(player_logged)
|
||||
overlays -= image('icons/effects/effects.dmi', icon_state = "zzz_glow")
|
||||
..()
|
||||
|
||||
if(dna.species && dna.species.ventcrawler)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/mob/living/carbon/human/Logout()
|
||||
..()
|
||||
if(mind.active && stat != DEAD)
|
||||
overlays += image('icons/effects/effects.dmi', icon_state = "zzz_glow")
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
//If they're SSD, remove it so they can wake back up.
|
||||
player_logged = 0
|
||||
|
||||
//Vents
|
||||
if(ventcrawler)
|
||||
to_chat(src, "<span class='notice'>You can ventcrawl! Use alt+click on vents to quickly travel about the station.</span>")
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
if(mind.active)
|
||||
Sleeping(2)
|
||||
player_logged = 1
|
||||
last_logout = world.time
|
||||
last_logout = world.time
|
||||
@@ -16,7 +16,5 @@
|
||||
send2irc(config.admin_notify_irc, "[key_name(src)] logged out - No active admins, [admincounter[2]] non-admin staff, [admincounter[3]] inactive staff.")
|
||||
|
||||
..()
|
||||
|
||||
callHook("mob_logout", list("client" = client, "mob" = src))
|
||||
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user