mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
DNR ghost spawns fix (#16458)
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
var/death_cooldown = 0 // How long you have to wait after dying before using it again, in deciseconds. People that join as observers are not included.
|
||||
|
||||
/obj/effect/mob_spawn/attack_ghost(mob/user)
|
||||
var/mob/dead/observer/O = user
|
||||
if(SSticker.current_state != GAME_STATE_PLAYING || !loc || !ghost_usable)
|
||||
return
|
||||
if(!uses)
|
||||
@@ -48,9 +47,6 @@
|
||||
if(cannotPossess(user))
|
||||
to_chat(user, "<span class='warning'>Upon using the antagHUD you forfeited the ability to join the round.</span>")
|
||||
return
|
||||
if(!O.can_reenter_corpse)
|
||||
to_chat(user, "<span class='warning'>You have forfeited the right to respawn.</span>")
|
||||
return
|
||||
if(time_check(user))
|
||||
return
|
||||
var/ghost_role = alert("Become [mob_name]? (Warning, You can no longer be cloned!)",,"Yes","No")
|
||||
|
||||
@@ -237,9 +237,6 @@
|
||||
if(cannotPossess(user))
|
||||
to_chat(user, "<span class='warning'>Upon using the antagHUD you forfeited the ability to join the round.</span>")
|
||||
return
|
||||
if(!user.can_reenter_corpse)
|
||||
to_chat(user, "<span class='warning'>You have forfeited the right to respawn.</span>")
|
||||
return
|
||||
var/be_helper = alert("Become a Lightgeist? (Warning, You can no longer be cloned!)",,"Yes","No")
|
||||
if(be_helper == "No")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user