Skip to content

Commit

Permalink
fixes new players getting an unusable verb (ParadiseSS13#24251)
Browse files Browse the repository at this point in the history
  • Loading branch information
GDNgit authored Feb 21, 2024
1 parent b11002b commit 335199b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/modules/mob/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 335199b

Please sign in to comment.