Revert "Merge branch 'toggle_karma2' of https://github.com/Couls/Paradise into toggle_karma2"

This reverts commit 79777f441e, reversing
changes made to a76e7c4060.
This commit is contained in:
Couls
2019-03-07 17:42:53 -05:00
parent 79777f441e
commit bed368d1c9
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ var/list/karma_spenders = list()
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.client.wants_karma)
to_chat(src, "<span class='warning'>That player has turned off incoming karma.")
return FALSE
return TRUE