mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
More gear tweak pain (#18607)
* sdfa * sfda * just to be safe, add some html strips guards to text inputs
This commit is contained in:
@@ -479,7 +479,7 @@ var/datum/gear_tweak/hair_block/gear_tweak_hair_block = new()
|
||||
return "Default"
|
||||
|
||||
/datum/gear_tweak/hair_block/get_metadata(var/user, var/metadata)
|
||||
return input(user, "Choose whether you want your headgear to block hair, or use the headgear's default.", "Hair Blocking", metadata) as anything in list("Yes", "No", "Default")
|
||||
return tgui_input_list(user, "Choose whether you want your headgear to block hair, or use the headgear's default.", "Hair Blocking", list("Yes", "No", "Default"), metadata)
|
||||
|
||||
/datum/gear_tweak/hair_block/tweak_item(var/obj/item/clothing/head/H, var/metadata)
|
||||
if(!istype(H))
|
||||
|
||||
Reference in New Issue
Block a user