mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
Merge pull request #14394 from Cyantime/patch-2
Hitting cancel when setting character ad no longer blanks it in setup
This commit is contained in:
committed by
CHOMPStation2
parent
bd1f389bc4
commit
de1e7c527c
@@ -81,6 +81,8 @@
|
||||
return TOPIC_REFRESH
|
||||
else if(href_list["directory_ad"])
|
||||
var/msg = sanitize(tgui_input_text(user,"Write your advertisement here!", "Flavor Text", html_decode(pref.directory_ad), multiline = TRUE, prevent_enter = TRUE), extra = 0) //VOREStation Edit: separating out OOC notes
|
||||
if(!msg)
|
||||
return
|
||||
pref.directory_ad = msg
|
||||
return TOPIC_REFRESH
|
||||
else if(href_list["toggle_sensor_setting"])
|
||||
|
||||
Reference in New Issue
Block a user