mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[MIRROR] Fixes non tgui inputs. [MDB IGNORE] (#12146)
* Fixes non tgui inputs. (#65378) Co-authored-by: nevimer <foxmail@ protonmail.com> * Fixes non tgui inputs. Co-authored-by: nevimer <77420409+nevimer@users.noreply.github.com> Co-authored-by: nevimer <foxmail@ protonmail.com>
This commit is contained in:
co-authored by
nevimer
nevimer
parent
50db26ee28
commit
cc4dabfe2e
@@ -23,7 +23,7 @@
|
||||
return
|
||||
/// Client does NOT have tgui_input on: Returns regular input
|
||||
if(!user.client.prefs.read_preference(/datum/preference/toggle/tgui_input))
|
||||
return input(user, message, title) as null|anything in items
|
||||
return input(user, message, title, default) as null|anything in items
|
||||
var/datum/tgui_list_input/input = new(user, message, title, items, default, timeout)
|
||||
input.ui_interact(user)
|
||||
input.wait()
|
||||
|
||||
Reference in New Issue
Block a user