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:
Luc
2024-05-10 19:35:58 +00:00
committed by GitHub
co-authored by GDN
parent 2c45dd3073
commit d25ba20e32
4 changed files with 22 additions and 3 deletions
+7 -2
View File
@@ -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