Renames latespawn() to be less confusing

This commit is contained in:
HarpyEagle
2015-10-11 11:26:01 -04:00
parent debe69aa80
commit dec0629fae
2 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,8 @@
process_count = 0 process_count = 0
try_latespawn() try_latespawn()
/datum/game_mode/proc/latespawn(var/mob/living/carbon/human/character) //This can be overriden in case a game mode needs to do stuff when a player latejoins
/datum/game_mode/proc/handle_latejoin(var/mob/living/carbon/human/character)
if(!character.mind) if(!character.mind)
return return
try_latespawn(character.mind) try_latespawn(character.mind)

View File

@@ -323,7 +323,7 @@
character.loc = C.loc character.loc = C.loc
AnnounceCyborg(character, rank, "has been downloaded to the empty core in \the [character.loc.loc]") AnnounceCyborg(character, rank, "has been downloaded to the empty core in \the [character.loc.loc]")
ticker.mode.latespawn(character) ticker.mode.handle_latejoin(character)
qdel(C) qdel(C)
qdel(src) qdel(src)
@@ -354,7 +354,7 @@
character.buckled.loc = character.loc character.buckled.loc = character.loc
character.buckled.set_dir(character.dir) character.buckled.set_dir(character.dir)
ticker.mode.latespawn(character) ticker.mode.handle_latejoin(character)
if(character.mind.assigned_role != "Cyborg") if(character.mind.assigned_role != "Cyborg")
data_core.manifest_inject(character) data_core.manifest_inject(character)