De-linkifies names in deadchat_broadcast(), makes deadsay css class default (#44600)

* De-linkifies names in deadchat_broadcast(), makes deadsay css class default too

* Makes the source argument come after message, since it is optional

* Removes excess </span>
This commit is contained in:
FrankFo
2019-06-18 22:49:02 +02:00
committed by AnturK
parent 484803979f
commit 645156ff60
14 changed files with 39 additions and 40 deletions

View File

@@ -95,7 +95,7 @@
if(random)
log_game("Random Event triggering: [name] ([typepath])")
if (alert_observers)
deadchat_broadcast("<span class='deadsay'><b>[name]</b> has just been[random ? " randomly" : ""] triggered!</span>") //STOP ASSUMING IT'S BADMINS!
deadchat_broadcast(" has just been[random ? " randomly" : ""] triggered!", "<b>[name]</b>") //STOP ASSUMING IT'S BADMINS!
return E
//Special admins setup