Merge pull request #4262 from Ccomp5950/mouse_runtime

Runtime fix for people that jump back in their body before hitting respawn
This commit is contained in:
Zuhayr
2014-01-11 07:53:51 -08:00

View File

@@ -348,10 +348,11 @@ var/list/slot_equipment_priority = list( \
return return
else else
var/deathtime = world.time - src.timeofdeath var/deathtime = world.time - src.timeofdeath
var/mob/dead/observer/G = src if(istype(src,/mob/dead/observer))
if(G.has_enabled_antagHUD == 1 && config.antag_hud_restricted) var/mob/dead/observer/G = src
usr << "\blue <B>Upon using the antagHUD you forfeighted the ability to join the round.</B>" if(G.has_enabled_antagHUD == 1 && config.antag_hud_restricted)
return usr << "\blue <B>Upon using the antagHUD you forfeighted the ability to join the round.</B>"
return
var/deathtimeminutes = round(deathtime / 600) var/deathtimeminutes = round(deathtime / 600)
var/pluralcheck = "minute" var/pluralcheck = "minute"
if(deathtimeminutes == 0) if(deathtimeminutes == 0)