mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 09:32:21 +00:00
Fixing the greyscale modify menu not sanitizing inputs. (#77165)
## About The Pull Request exactly what it reads on the tin. Also the ui is now anchored to the target and uses their state unless a specific one is set, so that it'll correctly close or be unusable if the mob user is incapacitated or too far. ## Why It's Good For The Game this will fix #70444. ## Changelog 🆑 fix: Fixing some jank with the a greyscale modify menu, like inputs not being sanitized. /🆑
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
if(href_list[VV_HK_MODIFY_GREYSCALE])
|
||||
if(!check_rights(NONE))
|
||||
return
|
||||
var/datum/greyscale_modify_menu/menu = new(target, usr, SSgreyscale.configurations)
|
||||
var/datum/greyscale_modify_menu/menu = new(target, usr, SSgreyscale.configurations, specific_ui_state = GLOB.always_state)
|
||||
menu.Unlock()
|
||||
menu.ui_interact(usr)
|
||||
if(href_list[VV_HK_CALLPROC])
|
||||
|
||||
Reference in New Issue
Block a user