Fix defaults

I was going to make this an arg but it being a variable made more sense.
This commit is contained in:
MrStonedOne
2017-05-06 16:02:24 -07:00
parent 33efcb78c4
commit a6f423d7cd
+1 -1
View File
@@ -120,7 +120,7 @@ GLOBAL_LIST_EMPTY(menulist)
entry["group"] = "[verb_true_parent.type]"
.[verbpath] = list2params(entry)
/datum/menu/proc/Get_checked(client/C, default)
/datum/menu/proc/Get_checked(client/C)
return C.prefs.menuoptions[type] || default || FALSE
/datum/menu/proc/Load_checked(client/C) //Loads the checked menu item into a new client. Used by icon menus to invoke the checked item.