Round value adjustments for react (#15764)

* input adjustments

* .

* .
This commit is contained in:
Kashargul
2024-02-16 14:18:54 +01:00
committed by GitHub
parent 04c57ff76a
commit 59d751a9f9
29 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
* * timeout - The timeout of the number input, after which the modal will close and qdel itself. Set to zero for no timeout.
* * round_value - whether the inputted number is rounded down into an integer.
*/
/proc/tgui_input_number(mob/user, message, title = "Number Input", default = 0, max_value = INFINITY, min_value = -INFINITY, timeout = 0, round_value = TRUE, ui_state = GLOB.tgui_always_state)
/proc/tgui_input_number(mob/user, message, title = "Number Input", default = 0, max_value = INFINITY, min_value = 0, timeout = 0, round_value = TRUE, ui_state = GLOB.tgui_always_state)
if (!user)
user = usr
if (!istype(user))