diff --git a/baystation12.int b/baystation12.int index 29f9e64646..c5943eea55 100644 --- a/baystation12.int +++ b/baystation12.int @@ -1,5 +1,8 @@ // BEGIN_INTERNALS /* +MAP_ICON_TYPE: 0 +LAST_COMPILE_VERSION: 500.1213 +LAST_COMPILE_TIME: 1381674628 AUTO_FILE_DIR: OFF */ // END_INTERNALS diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index e2789e446a..f09204132b 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -63,7 +63,7 @@ Works together with spawning an observer, noted above. if(key) var/mob/dead/observer/ghost = new(src) //Transfer safety to observer spawning proc. ghost.can_reenter_corpse = can_reenter_corpse - ghost.timeofdeath = timeofdeath //BS12 EDIT + ghost.timeofdeath = src.timeofdeath //BS12 EDIT ghost.key = key return ghost @@ -78,10 +78,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp if(stat == DEAD) ghostize(1) else - var/response = alert(src, "Are you -sure- you want to ghost?\n(You are alive. If you ghost whilst still alive you may not play again this round! You can't change your mind so choose wisely!!)","Are you sure you want to ghost?","Ghost","Stay in body") + var/response = alert(src, "Are you -sure- you want to ghost?\n(You are alive. If you ghost, you won't be able to play this round for another 30 minutes! You can't change your mind so choose wisely!)","Are you sure you want to ghost?","Ghost","Stay in body") if(response != "Ghost") return //didn't want to ghost after-all resting = 1 - ghostize(0) //0 parameter is so we can never re-enter our body, "Charlie, you can never come baaaack~" :3 + var/mob/dead/observer/ghost = ghostize(0) //0 parameter is so we can never re-enter our body, "Charlie, you can never come baaaack~" :3 + ghost.timeofdeath = world.time // Because the living mob won't have a time of death and we want the respawn timer to work properly. return diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 3ab083923c..f884a308df 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -119,6 +119,7 @@ var/obj/O = locate("landmark*Observer-Start") src << "\blue Now teleporting." observer.loc = O.loc + observer.timeofdeath = world.time // Set the time of death so that the respawn timer works correctly. if(client.prefs.be_random_name) client.prefs.real_name = random_name(client.prefs.gender) observer.real_name = client.prefs.real_name