mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-08 16:32:54 +00:00
Input Fixes
This commit is contained in:
@@ -174,7 +174,11 @@ world/New()
|
||||
if(!found)
|
||||
to_chat(src, "<b>* An error occured, sorry.</b>")
|
||||
|
||||
var/body = tgui_input_text(src.mob, "Enter a body for the news", "Body", multiline = TRUE)
|
||||
<<<<<<< HEAD
|
||||
var/body = input(src.mob, "Enter a body for the news", "Body") as null|message
|
||||
=======
|
||||
var/body = tgui_input_text(src.mob, "Enter a body for the news", "Body", multiline = TRUE, prevent_enter = TRUE)
|
||||
>>>>>>> 9f14866f07... Merge pull request #13135 from ItsSelis/tgui-input-framework-hotfix
|
||||
if(!body) return
|
||||
|
||||
found.body = body
|
||||
|
||||
Reference in New Issue
Block a user