mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] tragedian gets its name back (#9584)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f3b8ed9bef
commit
d3290a34c4
@@ -662,12 +662,14 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
//New message handling
|
||||
post_comm_message(customname, replacetext(input, "\n", "<br/>"))
|
||||
|
||||
switch(tgui_alert(usr, "Should this be announced to the general population?","Show world?",list("Yes","No")))
|
||||
if("Yes")
|
||||
command_announcement.Announce(input, customname, new_sound = 'sound/AI/commandreport.ogg', msg_sanitized = 1);
|
||||
if("No")
|
||||
to_world(span_red("New [using_map.company_name] Update available at all communication consoles."))
|
||||
world << sound('sound/AI/commandreport.ogg')
|
||||
var/confirm = tgui_alert(usr, "Should this be announced to the general population?","Show world?",list("Yes","No"))
|
||||
if(!confirm)
|
||||
return
|
||||
if(confirm == "Yes")
|
||||
command_announcement.Announce(input, customname, new_sound = 'sound/AI/commandreport.ogg', msg_sanitized = 1);
|
||||
else
|
||||
to_world(span_red("New [using_map.company_name] Update available at all communication consoles."))
|
||||
world << sound('sound/AI/commandreport.ogg')
|
||||
|
||||
log_admin("[key_name(src)] has created a command report: [input]")
|
||||
message_admins("[key_name_admin(src)] has created a command report", 1)
|
||||
|
||||
@@ -298,9 +298,9 @@
|
||||
if(href_list["default_lang"])
|
||||
if(href_list["default_lang"] == "reset")
|
||||
if (species_language)
|
||||
apply_default_language(GLOB.all_languages[species_language]) //CHOMPEdit
|
||||
apply_default_language(GLOB.all_languages[species_language])
|
||||
else
|
||||
apply_default_language(GLOB.all_languages[LANGUAGE_GIBBERISH]) //CHOMPEdit
|
||||
apply_default_language(GLOB.all_languages[LANGUAGE_GIBBERISH])
|
||||
else
|
||||
var/datum/language/L = locate(href_list["default_lang"])
|
||||
if(L && (L in languages))
|
||||
|
||||
Reference in New Issue
Block a user