[MIRROR] Lets tgui input actually accept decimals where allowed to [MDB IGNORE] (#17713)

* Lets tgui input actually accept decimals where allowed to (#71453)

It was rounded off ui side even if dm side allowed it.

* Lets tgui input actually accept decimals where allowed to

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-11-28 00:18:06 +01:00
committed by GitHub
parent 0111d3ca1e
commit 1ed5158358
3 changed files with 37 additions and 13 deletions

View File

@@ -119,6 +119,7 @@
data["min_value"] = min_value
data["swapped_buttons"] = user.client.prefs.read_preference(/datum/preference/toggle/tgui_input_swapped)
data["title"] = title
data["round_value"] = round_value
return data
/datum/tgui_input_number/ui_data(mob/user)