Fix BYOND membership status available to non-members (#25902)

* split byond member from server donator

* Update preferences.dm

* Update preferences.dm

* Update player_ranks.dm

* Update preferences.dm
This commit is contained in:
lessthanthree
2023-12-30 02:49:16 +00:00
committed by GitHub
parent a5227a07e5
commit a07989d69a
5 changed files with 19 additions and 13 deletions
+3 -2
View File
@@ -109,8 +109,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
load_path(parent.ckey)
if(load_and_save && !fexists(path))
try_savefile_type_migration()
unlock_content = !!parent.IsByondMember() || GLOB.donator_list[parent.ckey] //SKYRAT EDIT - ADDED DONATOR CHECK
if(unlock_content)
unlock_content = !!parent.IsByondMember()
donator_status = !!GLOB.donator_list[parent.ckey] //SKYRAT EDIT ADD - DONATOR CHECK
if(unlock_content || donator_status) //SKYRAT EDIT - ADD DONATOR CHECK
max_save_slots = 50 //SKYRAT EDIT - ORIGINAL 8
else
CRASH("attempted to create a preferences datum without a client or mock!")