mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #10926 from VOREStation/Arokha/announce
Fixes #10920
This commit is contained in:
committed by
Chompstation Bot
parent
0f1745dd3f
commit
2ac3038712
@@ -688,7 +688,7 @@ var/global/floorIsLava = 0
|
||||
set desc="Announce your desires to the world"
|
||||
if(!check_rights(0)) return
|
||||
|
||||
var/message = input(usr, "Global message to send:", "Admin Announce", null, null) as message//todo: sanitize for all?
|
||||
var/message = tgui_input_message(usr, "Global message to send:", "Admin Announce")
|
||||
if(message)
|
||||
if(!check_rights(R_SERVER,0))
|
||||
message = sanitize(message, 500, extra = 0)
|
||||
|
||||
Reference in New Issue
Block a user