mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
Fix the admin sizeguns so that they can actually be set (#11186)
This commit is contained in:
@@ -131,6 +131,7 @@
|
||||
var/size_select = tgui_input_number(user, "Put the desired size (1-600%)", "Set Size", size_set_to * 100, 600, 1)
|
||||
if(!size_select)
|
||||
return //cancelled
|
||||
size_set_to = clamp((size_select/100), RESIZE_MINIMUM_DORMS, RESIZE_MAXIMUM_DORMS)
|
||||
to_chat(usr, span_notice("You set the size to [size_select]%"))
|
||||
|
||||
/obj/item/gun/energy/sizegun/afterattack(atom/A, mob/living/user, adjacent, params)
|
||||
|
||||
Reference in New Issue
Block a user