mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
More Input Conversion
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
to_chat(user, "<span class='notice'>You set \the [src]'s memory to \"[new_data]\".</span>")
|
||||
if("number")
|
||||
accepting_refs = 0
|
||||
new_data = input(usr, "Now type in a number.","[src] number writing") as null|num
|
||||
new_data = tgui_input_number(usr, "Now type in a number.","[src] number writing")
|
||||
if(isnum(new_data) && CanInteract(user, GLOB.tgui_physical_state))
|
||||
data_to_write = new_data
|
||||
to_chat(user, "<span class='notice'>You set \the [src]'s memory to [new_data].</span>")
|
||||
|
||||
Reference in New Issue
Block a user