You can now control-click action buttons to lock them in place

This commit is contained in:
CitadelStationBot
2017-07-24 17:05:41 -05:00
parent b8e741f13a
commit d7e66b7a3a
5 changed files with 24 additions and 4 deletions
+2
View File
@@ -45,6 +45,7 @@
M.actions += src
if(M.client)
M.client.screen += button
button.locked = M.client.prefs.buttons_locked
M.update_action_buttons()
else
Remove(owner)
@@ -57,6 +58,7 @@
M.update_action_buttons()
owner = null
button.moved = FALSE //so the button appears in its normal position when given to another owner.
button.locked = FALSE
/datum/action/proc/Trigger()
if(!IsAvailable())