Skip to content

Commit

Permalink
bugfix: Fixed tos consent acception (#6012)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Oct 13, 2024
1 parent f606286 commit c4ceaea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
query.warn_execute()
qdel(query)
src << browse(null, "window=privacy_consent")
client.tos_consent = TRUE

if(href_list["consent_rejected"])
client.tos_consent = FALSE
to_chat(usr, "<span class='warning'>You must consent to the terms of service before you can join!</span>")
Expand Down

0 comments on commit c4ceaea

Please sign in to comment.