fixes new players getting an unusable verb (#24251)

This commit is contained in:
GDN
2024-02-21 03:08:23 -06:00
committed by GitHub
parent b11002b67b
commit 335199b55b
+1 -3
View File
@@ -24,13 +24,12 @@
mind.current = null // We best null their mind as well, otherwise /every/ single new player is going to explode the server a little more going in/out of the round
return ..()
/mob/new_player/verb/new_player_panel()
/mob/new_player/proc/new_player_panel()
if(client.tos_consent || GLOB.configuration.system.external_tos_handler)
new_player_panel_proc()
else
privacy_consent()
/mob/new_player/proc/privacy_consent()
var/output = GLOB.join_tos
// Dont blank out the other window. This one is read only.
@@ -47,7 +46,6 @@
popup.open(0)
return
/mob/new_player/proc/new_player_panel_proc()
set waitfor = FALSE
var/real_name = client.prefs.active_character.real_name