mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Moves pre-round observers to the wizden (#25330)
* let's see if people like this * Update code/game/objects/effects/landmarks.dm Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com> Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/game/objects/effects/landmarks.dm Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com> Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com> --------- Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
This commit is contained in:
@@ -185,9 +185,14 @@
|
||||
to_chat(src, "<span class='notice'>As you observed [period_human_readable], you can freely toggle antag-hud without losing respawnability.</span>")
|
||||
observer.started_as_observer = 1
|
||||
close_spawn_windows()
|
||||
var/obj/O = locate("landmark*Observer-Start")
|
||||
var/obj/spawn_point
|
||||
if(SSticker.current_state < GAME_STATE_PLAYING)
|
||||
spawn_point = pick(GLOB.roundstart_observer_start)
|
||||
else
|
||||
spawn_point = locate("landmark*Observer-Start")
|
||||
|
||||
to_chat(src, "<span class='notice'>Now teleporting.</span>")
|
||||
observer.forceMove(O.loc)
|
||||
observer.forceMove(get_turf(spawn_point))
|
||||
observer.timeofdeath = world.time // Set the time of death so that the respawn timer works correctly.
|
||||
client.prefs.active_character.update_preview_icon(1)
|
||||
observer.icon = client.prefs.active_character.preview_icon
|
||||
|
||||
Reference in New Issue
Block a user