From f393c7fff25f7c70c4fe0e6ebb5aceddc060362e Mon Sep 17 00:00:00 2001
From: kevinz000 <2003111+kevinz000@users.noreply.github.com>
Date: Fri, 11 Oct 2019 20:43:10 -0700
Subject: [PATCH] Update new_player.dm
---
code/modules/mob/dead/new_player/new_player.dm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm
index f0b7c18b28..b9bb9fe249 100644
--- a/code/modules/mob/dead/new_player/new_player.dm
+++ b/code/modules/mob/dead/new_player/new_player.dm
@@ -145,7 +145,13 @@
ViewManifest()
if(href_list["SelectedJob"])
-
+ if(!SSticker || !SSticker.IsRoundInProgress())
+ var/msg = "[key_name(usr)] attempted to join the round using a href that shouldn't be available at this moment!"
+ log_admin(msg)
+ message_admins(msg)
+ to_chat(usr, "The round is either not ready, or has already finished...")
+ return
+
if(!GLOB.enter_allowed)
to_chat(usr, "There is an administrative lock on entering the game!")
return