Game Preferences Update (#13936)

This commit is contained in:
AffectedArc07
2020-10-09 14:53:59 -04:00
committed by GitHub
parent 44431ff0b5
commit a50f656d8d
42 changed files with 227 additions and 222 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ GLOBAL_LIST_EMPTY(karma_spenders)
log_game("Illegal karma spending attempt detected from [key] to [M.key]. Using the same IP!")
to_chat(src, "<span class='warning'>You can't spend karma on someone connected from the same IP.</span>")
return FALSE
if(M.get_preference(DISABLE_KARMA))
if(M.get_preference(PREFTOGGLE_DISABLE_KARMA))
to_chat(src, "<span class='warning'>That player has turned off incoming karma.")
return FALSE
return TRUE