diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index a04918afb13..bb81a5ca4e7 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -268,15 +268,15 @@ return 1 - proc/AttemptLateSpawn(rank) - if (src != usr) - return 0 - if(!ticker || ticker.current_state != GAME_STATE_PLAYING) - usr << "\red The round is either not ready, or has already finished..." - return 0 - if(!enter_allowed) - usr << "\blue There is an administrative lock on entering the game!" - return 0 + proc/AttemptLateSpawn(rank) + if (src != usr) + return 0 + if(!ticker || ticker.current_state != GAME_STATE_PLAYING) + usr << "\red The round is either not ready, or has already finished..." + return 0 + if(!enter_allowed) + usr << "\blue There is an administrative lock on entering the game!" + return 0 if(!IsJobAvailable(rank)) src << alert("[rank] is not available. Please try another.") return 0