mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Emergency workaround for the observer bug.
This commit is contained in:
@@ -119,8 +119,11 @@
|
|||||||
observer.started_as_observer = 1
|
observer.started_as_observer = 1
|
||||||
close_spawn_windows()
|
close_spawn_windows()
|
||||||
var/obj/O = locate("landmark*Observer-Start")
|
var/obj/O = locate("landmark*Observer-Start")
|
||||||
src << "\blue Now teleporting."
|
if(istype(O))
|
||||||
observer.loc = O.loc
|
src << "<span class='notice'>Now teleporting.</span>"
|
||||||
|
observer.loc = O.loc
|
||||||
|
else
|
||||||
|
src << "<span class='danger'>Could not locate an observer spawn point. Use the Teleport verb to jump to the station map.</span>"
|
||||||
observer.timeofdeath = world.time // Set the time of death so that the respawn timer works correctly.
|
observer.timeofdeath = world.time // Set the time of death so that the respawn timer works correctly.
|
||||||
|
|
||||||
announce_ghost_joinleave(src)
|
announce_ghost_joinleave(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user