mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Overhauls player facing verb UI (#24060)
* Preference verb overhaul * this too * Update code/__DEFINES/preferences_defines.dm * Update code/modules/client/preference/preferences.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * fixes + better html * removes unused define --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -1265,6 +1265,10 @@
|
||||
init_keybindings(keybindings_overrides)
|
||||
save_preferences(user) //Ideally we want to save people's keybinds when they enter them
|
||||
|
||||
if("preference_toggles")
|
||||
if(href_list["toggle"])
|
||||
var/datum/preference_toggle/toggle = locateUID(href_list["toggle"])
|
||||
toggle.set_toggles(user.client)
|
||||
|
||||
ShowChoices(user)
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user