Skip to content

Commit

Permalink
Поправил is_content_unlocked().
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Apr 4, 2024
1 parent 7b7fc91 commit aed8146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
Click(target, target.loc, null, "[button];[href_list["statpanel_item_shiftclick"]?"shift=1;":null][href_list["statpanel_item_ctrlclick"]?"ctrl=1;":null]&alt=[href_list["statpanel_item_altclick"]?"alt=1;":null]", FALSE, "statpanel")

/client/proc/is_content_unlocked()
if(!prefs.unlock_content || !(IS_CKEY_DONATOR_GROUP(key, DONATOR_GROUP_TIER_1)))
if(!prefs.unlock_content || !IS_CKEY_DONATOR_GROUP(key, DONATOR_GROUP_TIER_1))
to_chat(src, "Become a BYOND member to access member-perks and features, as well as support the engine that makes this game possible. Only 10 bucks for 3 months! <a href=\"https://secure.byond.com/membership\">Click Here to find out more</a>.")
return FALSE
return TRUE
Expand Down

0 comments on commit aed8146

Please sign in to comment.