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

View File

@@ -224,9 +224,11 @@
set name = "Toggle Karma Gains"
set category = "Special Verbs"
set desc = "This button will allow you to stop other people giving you karma."
if (prefs.toggles & DISABLE_KARMA)
if(prefs.toggles & DISABLE_KARMA)
wants_karma = FALSE
to_chat(usr, "<span class='notice'>You have disabled karma gains.")
else
wants_karma = TRUE
to_chat(usr, "<span class='notice'>You have enabled karma gains.")
prefs.toggles ^= DISABLE_KARMA
prefs.save_preferences(src)