Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3baeaeb

Browse filesBrowse files
authored
Steals tg's span macros (yogstation13#12232)
* Steals tg's span macros * Fix alphabet * Updated some more spans * Misses a conflict * Fix compile errors * Converts more spans * oops
1 parent 3b63dff commit 3baeaeb
Copy full SHA for 3baeaeb

1,702 files changed

+15,113-14,934Lines changed: 15113 additions & 14934 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/__DEFINES/span.dm‎

Copy file name to clipboard
+179Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
// Sorted alphabetically
2+
#define span_abductor(str) ("<span class='abductor'>" + str + "</span>")
3+
#define span_admin(str) ("<span class='admin'>" + str + "</span>")
4+
#define span_adminhelp(str) ("<span class='adminhelp'>" + str + "</span>")
5+
#define span_adminnotice(str) ("<span class='adminnotice'>" + str + "</span>")
6+
#define span_adminobserverooc(str) ("<span class='adminobserverooc'>" + str + "</span>")
7+
#define span_adminooc(str) ("<span class='adminooc'>" + str + "</span>")
8+
#define span_adminsay(str) ("<span class='adminsay'>" + str + "</span>")
9+
#define span_aiprivradio(str) ("<span class='aiprivradio'>" + str + "</span>")
10+
#define span_alert(str) ("<span class='alert'>" + str + "</span>")
11+
#define span_alertalien(str) ("<span class='alertalien'>" + str + "</span>")
12+
#define span_alertealien(str) ("<span class='alertealien'>" + str + "</span>")
13+
#define span_alertsyndie(str) ("<span class='alertsyndie'>" + str + "</span>")
14+
#define span_alertwarning(str) ("<span class='alertwarning'>" + str + "</span>")
15+
#define span_alien(str) ("<span class='alien'>" + str + "</span>")
16+
#define span_alloy(str) ("<span class='alloy'>" + str + "</span>")
17+
#define span_announce(str) ("<span class='announce'>" + str + "</span>")
18+
#define span_assimilator(str) ("<span class='assimilator'>" + str + "</span>")
19+
#define span_attack(str) ("<span class='attack'>" + str + "</span>")
20+
#define span_average(str) ("<span class='average'>" + str + "</span>")
21+
#define span_bad(str) ("<span class='bad'>" + str + "</span>")
22+
#define span_big(str) ("<span class='big'>" + str + "</span>")
23+
#define span_big_brass(str) ("<span class='big_brass'>" + str + "</span>")
24+
#define span_bigassimilator(str) ("<span class='bigassimilator'>" + str + "</span>")
25+
#define span_bigicon(str) ("<span class='bigicon'>" + str + "</span>")
26+
#define span_binarysay(str) ("<span class='binarysay'>" + str + "</span>")
27+
#define span_blue(str) ("<span class='blue'>" + str + "</span>")
28+
#define span_blueteamradio(str) ("<span class='blueteamradio'>" + str + "</span>")
29+
#define span_bold(str) ("<span class='bold'>" + str + "</span>")
30+
#define span_boldannounce(str) ("<span class='boldannounce'>" + str + "</span>")
31+
#define span_bolddanger(str) ("<span class='bolddanger'>" + str + "</span>")
32+
#define span_boldnotice(str) ("<span class='boldnotice'>" + str + "</span>")
33+
#define span_boldwarning(str) ("<span class='boldwarning'>" + str + "</span>")
34+
#define span_brass(str) ("<span class='brass'>" + str + "</span>")
35+
#define span_caution(str) ("<span class='caution'>" + str + "</span>")
36+
#define span_centcomradio(str) ("<span class='centcomradio'>" + str + "</span>")
37+
#define span_changeling(str) ("<span class='changeling'>" + str + "</span>")
38+
#define span_clown(str) ("<span class='clown'>" + str + "</span>")
39+
#define span_colossus(str) ("<span class='colossus'>" + str + "</span>")
40+
#define span_command_headset(str) ("<span class='command_headset'>" + str + "</span>")
41+
#define span_company(str) ("<span class='company'>" + str + "</span>")
42+
#define span_comradio(str) ("<span class='comradio'>" + str + "</span>")
43+
#define span_cult(str) ("<span class='cult'>" + str + "</span>")
44+
#define span_cultbold(str) ("<span class='cultbold'>" + str + "</span>")
45+
#define span_cultboldtalic(str) ("<span class='cultboldtalic'>" + str + "</span>")
46+
#define span_cultitalic(str) ("<span class='cultitalic'>" + str + "</span>")
47+
#define span_cultlarge(str) ("<span class='cultlarge'>" + str + "</span>")
48+
#define span_cultsmall(str) ("<span class='cultsmall'>" + str + "</span>")
49+
#define span_danger(str) ("<span class='danger'>" + str + "</span>")
50+
#define span_dangers(str) ("<span class='dangers'>" + str + "</span>")
51+
#define span_dark(str) ("<span class='dark'>" + str + "</span>")
52+
#define span_deadsay(str) ("<span class='deadsay'>" + str + "</span>")
53+
#define span_deconversion_message(str) ("<span class='deconversion_message'>" + str + "</span>")
54+
#define span_deptradio(str) ("<span class='deptradio'>" + str + "</span>")
55+
#define span_disarm(str) ("<span class='disarm'>" + str + "</span>")
56+
#define span_drone(str) ("<span class='drone'>" + str + "</span>")
57+
#define span_dronesay(str) ("<span class='dronesay'>" + str + "</span>")
58+
#define span_engradio(str) ("<span class='engradio'>" + str + "</span>")
59+
#define span_error(str) ("<span class='error'>" + str + "</span>")
60+
#define span_extremelybig(str) ("<span class='extremelybig'>" + str + "</span>")
61+
#define span_ghostalert(str) ("<span class='ghostalert'>" + str + "</span>")
62+
#define span_good(str) ("<span class='good'>" + str + "</span>")
63+
#define span_green(str) ("<span class='green'>" + str + "</span>")
64+
#define span_greenannounce(str) ("<span class='greenannounce'>" + str + "</span>")
65+
#define span_greenteamradio(str) ("<span class='greenteamradio'>" + str + "</span>")
66+
#define span_greentext(str) ("<span class='greentext'>" + str + "</span>")
67+
#define span_header(str) ("<span class='header'>" + str + "</span>")
68+
#define span_hear(str) ("<span class='hear'>" + str + "</span>")
69+
#define span_heavy_brass(str) ("<span class='heavy_brass'>" + str + "</span>")
70+
#define span_hidden(str) ("<span class='hidden'>" + str + "</span>")
71+
#define span_hierophant(str) ("<span class='hierophant'>" + str + "</span>")
72+
#define span_hierophant_warning(str) ("<span class='hierophant_warning'>" + str + "</span>")
73+
#define span_highlight(str) ("<span class='highlight'>" + str + "</span>")
74+
#define span_his_grace(str) ("<span class='his_grace'>" + str + "</span>")
75+
#define span_holoparasite(str) ("<span class='holoparasite'>" + str + "</span>")
76+
#define span_hypnophrase(str) ("<span class='hypnophrase'>" + str + "</span>")
77+
#define span_icon(str) ("<span class='icon'>" + str + "</span>")
78+
#define span_inathneq(str) ("<span class='inathneq'>" + str + "</span>")
79+
#define span_inathneq_large(str) ("<span class='inathneq_large'>" + str + "</span>")
80+
#define span_inathneq_small(str) ("<span class='inathneq_small'>" + str + "</span>")
81+
#define span_info(str) ("<span class='info'>" + str + "</span>")
82+
#define span_interface(str) ("<span class='interface'>" + str + "</span>")
83+
#define span_italics(str) ("<span class='italics'>" + str + "</span>")
84+
#define span_large_brass(str) ("<span class='large_brass'>" + str + "</span>")
85+
#define span_linkOff(str) ("<span class='linkOff'>" + str + "</span>")
86+
#define span_linkOn(str) ("<span class='linkOn'>" + str + "</span>")
87+
#define span_linkify(str) ("<span class='linkify'>" + str + "</span>")
88+
#define span_looc(str) ("<span class='looc'>" + str + "</span>")
89+
#define span_maptext(str) ("<span class='maptext'>" + str + "</span>")
90+
#define span_marooned(str) ("<span class='marooned'>" + str + "</span>")
91+
#define span_medal(str) ("<span class='medal'>" + str + "</span>")
92+
#define span_medaltext(str) ("<span class='medaltext'>" + str + "</span>")
93+
#define span_medradio(str) ("<span class='medradio'>" + str + "</span>")
94+
#define span_memo(str) ("<span class='memo'>" + str + "</span>")
95+
#define span_memoedit(str) ("<span class='memoedit'>" + str + "</span>")
96+
#define span_mentor(str) ("<span class='mentor'>" + str + "</span>")
97+
#define span_message(str) ("<span class='message'>" + str + "</span>")
98+
#define span_mind_control(str) ("<span class='mind_control'>" + str + "</span>")
99+
#define span_minorannounce(str) ("<span class='minorannounce'>" + str + "</span>")
100+
#define span_monkey(str) ("<span class='monkey'>" + str + "</span>")
101+
#define span_monkeyhive(str) ("<span class='monkeyhive'>" + str + "</span>")
102+
#define span_monkeylead(str) ("<span class='monkeylead'>" + str + "</span>")
103+
#define span_name(str) ("<span class='name'>" + str + "</span>")
104+
#define span_narsie(str) ("<span class='narsie'>" + str + "</span>")
105+
#define span_narsiesmall(str) ("<span class='narsiesmall'>" + str + "</span>")
106+
#define span_neovgre(str) ("<span class='neovgre'>" + str + "</span>")
107+
#define span_neovgre_small(str) ("<span class='neovgre_small'>" + str + "</span>")
108+
#define span_neutraltext(str) ("<span class='neutraltext'>" + str + "</span>")
109+
#define span_nezbere(str) ("<span class='nezbere'>" + str + "</span>")
110+
#define span_nicegreen(str) ("<span class='nicegreen'>" + str + "</span>")
111+
#define span_nopositions(str) ("<span class='nopositions'>" + str + "</span>")
112+
#define span_notice(str) ("<span class='notice'>" + str + "</span>")
113+
#define span_noticealien(str) ("<span class='noticealien'>" + str + "</span>")
114+
#define span_nzcrentr(str) ("<span class='nzcrentr'>" + str + "</span>")
115+
#define span_nzcrentr_large(str) ("<span class='nzcrentr_large'>" + str + "</span>")
116+
#define span_nzcrentr_small(str) ("<span class='nzcrentr_small'>" + str + "</span>")
117+
#define span_ooc(str) ("<span class='ooc'>" + str + "</span>")
118+
#define span_ownerdanger(str) ("<span class='ownerdanger'>" + str + "</span>")
119+
#define span_paper_field(str) ("<span class='paper_field'>" + str + "</span>")
120+
#define span_papyrus(str) ("<span class='papyrus'>" + str + "</span>")
121+
#define span_phobia(str) ("<span class='phobia'>" + str + "</span>")
122+
#define span_prefix(str) ("<span class='prefix'>" + str + "</span>")
123+
#define span_priority(str) ("<span class='priority'>" + str + "</span>")
124+
#define span_purple(str) ("<span class='purple'>" + str + "</span>")
125+
#define span_radio(str) ("<span class='radio'>" + str + "</span>")
126+
#define span_ratvar(str) ("<span class='ratvar'>" + str + "</span>")
127+
#define span_reallybig(str) ("<span class='reallybig'>" + str + "</span>")
128+
#define span_reallybigphobia(str) ("<span class='reallybigphobia'>" + str + "</span>")
129+
#define span_red(str) ("<span class='red'>" + str + "</span>")
130+
#define span_redteamradio(str) ("<span class='redteamradio'>" + str + "</span>")
131+
#define span_redtext(str) ("<span class='redtext'>" + str + "</span>")
132+
#define span_resonate(str) ("<span class='resonate'>" + str + "</span>")
133+
#define span_revenbignotice(str) ("<span class='revenbignotice'>" + str + "</span>")
134+
#define span_revenboldnotice(str) ("<span class='revenboldnotice'>" + str + "</span>")
135+
#define span_revendanger(str) ("<span class='revendanger'>" + str + "</span>")
136+
#define span_revenminor(str) ("<span class='revenminor'>" + str + "</span>")
137+
#define span_revennotice(str) ("<span class='revennotice'>" + str + "</span>")
138+
#define span_revenwarning(str) ("<span class='revenwarning'>" + str + "</span>")
139+
#define span_robot(str) ("<span class='robot'>" + str + "</span>")
140+
#define span_robotic(str) ("<span class='robotic'>" + str + "</span>")
141+
#define span_rose(str) ("<span class='rose'>" + str + "</span>")
142+
#define span_runtime_line(str) ("<span class='runtime_line'>" + str + "</span>")
143+
#define span_s_company(str) ("<span class='s_company'>" + str + "</span>")
144+
#define span_sans(str) ("<span class='sans'>" + str + "</span>")
145+
#define span_sciradio(str) ("<span class='sciradio'>" + str + "</span>")
146+
#define span_secradio(str) ("<span class='secradio'>" + str + "</span>")
147+
#define span_servradio(str) ("<span class='servradio'>" + str + "</span>")
148+
#define span_sevtug(str) ("<span class='sevtug'>" + str + "</span>")
149+
#define span_sevtug_small(str) ("<span class='sevtug_small'>" + str + "</span>")
150+
#define span_shadowling(str) ("<span class='shadowling'>" + str + "</span>")
151+
#define span_singing(str) ("<span class='singing'>" + str + "</span>")
152+
#define span_slime(str) ("<span class='slime'>" + str + "</span>")
153+
#define span_small(str) ("<span class='small'>" + str + "</span>")
154+
#define span_smalldanger(str) ("<span class='smalldanger'>" + str + "</span>")
155+
#define span_smallnotice(str) ("<span class='smallnotice'>" + str + "</span>")
156+
#define span_smallnoticeital(str) ("<span class='smallnoticeital'>" + str + "</span>")
157+
#define span_span_notify(str) ("<span class='span_notify'>" + str + "</span>")
158+
#define span_spider(str) ("<span class='spider'>" + str + "</span>")
159+
#define span_suicide(str) ("<span class='suicide'>" + str + "</span>")
160+
#define span_suppradio(str) ("<span class='suppradio'>" + str + "</span>")
161+
#define span_surrender(str) ("<span class='surrender'>" + str + "</span>")
162+
#define span_swarmer(str) ("<span class='swarmer'>" + str + "</span>")
163+
#define span_syndradio(str) ("<span class='syndradio'>" + str + "</span>")
164+
#define span_tape_recorder(str) ("<span class='tape_recorder'>" + str + "</span>")
165+
#define span_tinynotice(str) ("<span class='tinynotice'>" + str + "</span>")
166+
#define span_tinynoticeital(str) ("<span class='tinynoticeital'>" + str + "</span>")
167+
#define span_tooltip_container(str) ("<span class='tooltip_container'>" + str + "</span>")
168+
#define span_umbra_emphasis(str) ("<span class='umbra_emphasis'>" + str + "</span>")
169+
#define span_unclaimed(str) ("<span class='unclaimed'>" + str + "</span>")
170+
#define span_unconscious(str) ("<span class='unconscious'>" + str + "</span>")
171+
#define span_userdanger(str) ("<span class='userdanger'>" + str + "</span>")
172+
#define span_usernotice(str) ("<span class='usernotice'>" + str + "</span>")
173+
#define span_value(str) ("<span class='value'>" + str + "</span>")
174+
#define span_vampirewarning(str) ("<span class='vampirewarning'>" + str + "</span>")
175+
#define span_velvet(str) ("<span class='velvet'>" + str + "</span>")
176+
#define span_warner(str) ("<span class='warner'>" + str + "</span>")
177+
#define span_warning(str) ("<span class='warning'>" + str + "</span>")
178+
#define span_yell(str) ("<span class='yell'>" + str + "</span>")
179+
#define span_yellowteamradio(str) ("<span class='yellowteamradio'>" + str + "</span>")
Collapse file

‎code/__DEFINES/tgs.config.dm‎

Copy file name to clipboardExpand all lines: code/__DEFINES/tgs.config.dm
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) GLOBAL_VAR_INIT(##Name, ##Value); GLOBAL_PROTECT(##Name)
44
#define TGS_READ_GLOBAL(Name) GLOB.##Name
55
#define TGS_WRITE_GLOBAL(Name, Value) GLOB.##Name = ##Value
6-
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, "<span class='boldannounce'>[html_encode(##message)]</span>")
6+
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, span_boldannounce("[html_encode(##message)]"))
77
#define TGS_INFO_LOG(message) log_world("TGS: Info: [##message]")
88
#define TGS_WARNING_LOG(message) log_world("TGS: Warning: [##message]")
99
#define TGS_ERROR_LOG(message) log_world("TGS: Error: [##message]")
Collapse file

‎code/__HELPERS/areas.dm‎

Copy file name to clipboardExpand all lines: code/__HELPERS/areas.dm
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(/area/engin
5454
))
5555
var/list/turfs = detect_room(get_turf(creator), area_or_turf_fail_types, BP_MAX_ROOM_SIZE*2)
5656
if(!turfs)
57-
to_chat(creator, "<span class='warning'>The new area must be completely airtight and not a part of a shuttle.</span>")
57+
to_chat(creator, span_warning("The new area must be completely airtight and not a part of a shuttle."))
5858
return
5959
if(turfs.len > BP_MAX_ROOM_SIZE)
60-
to_chat(creator, "<span class='warning'>The room you're in is too big. It is [turfs.len >= BP_MAX_ROOM_SIZE *2 ? "more than 100" : ((turfs.len / BP_MAX_ROOM_SIZE)-1)*100]% larger than allowed.</span>")
60+
to_chat(creator, span_warning("The room you're in is too big. It is [turfs.len >= BP_MAX_ROOM_SIZE *2 ? "more than 100" : ((turfs.len / BP_MAX_ROOM_SIZE)-1)*100]% larger than allowed."))
6161
return
6262
var/list/areas = list("New Area" = /area)
6363
for(var/i in 1 to turfs.len)
@@ -71,7 +71,7 @@ GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(/area/engin
7171
area_choice = areas[area_choice]
7272

7373
if(!area_choice)
74-
to_chat(creator, "<span class='warning'>No choice selected. The area remains undefined.</span>")
74+
to_chat(creator, span_warning("No choice selected. The area remains undefined."))
7575
return
7676
var/area/newA
7777
var/area/oldA = get_area(get_turf(creator))
@@ -80,7 +80,7 @@ GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(/area/engin
8080
if(!str || !length(str)) //cancel
8181
return
8282
if(length(str) > 50)
83-
to_chat(creator, "<span class='warning'>The given name is too long. The area remains undefined.</span>")
83+
to_chat(creator, span_warning("The given name is too long. The area remains undefined."))
8484
return
8585
newA = new area_choice
8686
newA.setup(str)
@@ -102,7 +102,7 @@ GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(/area/engin
102102
var/obj/machinery/door/firedoor/FD = door
103103
FD.CalculateAffectingAreas()
104104

105-
to_chat(creator, "<span class='notice'>You have created a new area, named [newA.name]. It is now weather proof, and constructing an APC will allow it to be powered.</span>")
105+
to_chat(creator, span_notice("You have created a new area, named [newA.name]. It is now weather proof, and constructing an APC will allow it to be powered."))
106106
return TRUE
107107

108108
#undef BP_MAX_ROOM_SIZE
Collapse file

‎code/__HELPERS/game.dm‎

Copy file name to clipboardExpand all lines: code/__HELPERS/game.dm
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,22 +440,22 @@
440440
window_flash(M.client)
441441
switch(ignore_category ? askuser(M,Question,"Please answer in [DisplayTimeText(poll_time)]!","Yes","No","Never for this round", StealFocus=0, Timeout=poll_time) : askuser(M,Question,"Please answer in [DisplayTimeText(poll_time)]!","Yes","No", StealFocus=0, Timeout=poll_time))
442442
if(1)
443-
to_chat(M, "<span class='notice'>Choice registered: Yes.</span>")
443+
to_chat(M, span_notice("Choice registered: Yes."))
444444
if(time_passed + poll_time <= world.time)
445-
to_chat(M, "<span class='danger'>Sorry, you answered too late to be considered!</span>")
445+
to_chat(M, span_danger("Sorry, you answered too late to be considered!"))
446446
SEND_SOUND(M, 'sound/machines/buzz-sigh.ogg')
447447
candidates -= M
448448
else
449449
candidates += M
450450
if(2)
451-
to_chat(M, "<span class='danger'>Choice registered: No.</span>")
451+
to_chat(M, span_danger("Choice registered: No."))
452452
candidates -= M
453453
if(3)
454454
var/list/L = GLOB.poll_ignore[ignore_category]
455455
if(!L)
456456
GLOB.poll_ignore[ignore_category] = list()
457457
GLOB.poll_ignore[ignore_category] += M.ckey
458-
to_chat(M, "<span class='danger'>Choice registered: Never for this round.</span>")
458+
to_chat(M, span_danger("Choice registered: Never for this round."))
459459
candidates -= M
460460
else
461461
candidates -= M
@@ -669,7 +669,7 @@
669669
var/area/A = get_area(character)
670670
if(character.mind.role_alt_title)
671671
rank = character.mind.role_alt_title
672-
deadchat_broadcast(" has arrived at the station at <span class='name'>[A.name]</span>.", "<span class='game'><span class='name'>[character.real_name]</span> ([rank])", follow_target = character, message_type=DEADCHAT_ARRIVALRATTLE)
672+
deadchat_broadcast(" has arrived at the station at [span_name("[A.name]")].", "<span class='game'>[span_name("[character.real_name]")] ([rank])", follow_target = character, message_type=DEADCHAT_ARRIVALRATTLE)
673673
if((!GLOB.announcement_systems.len) || (!character.mind))
674674
return
675675
if((character.mind.assigned_role == "Cyborg") || (character.mind.assigned_role == character.mind.special_role))
Collapse file

‎code/__HELPERS/mobs.dm‎

Copy file name to clipboardExpand all lines: code/__HELPERS/mobs.dm
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ GLOBAL_LIST_EMPTY(species_list)
458458
// Displays a message in deadchat, sent by source. Source is not linkified, message is, to avoid stuff like character names to be linkified.
459459
// Automatically gives the class deadsay to the whole message (message + source)
460460
/proc/deadchat_broadcast(message, source=null, mob/follow_target=null, turf/turf_target=null, speaker_key=null, message_type=DEADCHAT_REGULAR)
461-
message = "<span class='deadsay'>[source]<span class='linkify'>[message]</span></span>"
461+
message = span_deadsay("[source][span_linkify("[message]")]")
462462
for(var/mob/M in GLOB.player_list)
463463
var/datum/preferences/prefs
464464
if(M.client && M.client.prefs)
@@ -555,4 +555,4 @@ GLOBAL_LIST_EMPTY(species_list)
555555

556556
/// Gets the client of the mob, allowing for mocking of the client.
557557
/// You only need to use this if you know you're going to be mocking clients somewhere else.
558-
#define GET_CLIENT(mob) (##mob.client || ##mob.mock_client)
558+
#define GET_CLIENT(mob) (##mob.client || ##mob.mock_client)
Collapse file

‎code/__HELPERS/priority_announce.dm‎

Copy file name to clipboardExpand all lines: code/__HELPERS/priority_announce.dm
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
if(SSstation.announcer.custom_alert_message && !has_important_message)
3535
announcement += SSstation.announcer.custom_alert_message
3636
else
37-
announcement += "<br><span class='alert'>[sanitize ? html_encode(text) : text]</span><br>"
37+
announcement += "<br>[span_alert("[sanitize ? html_encode(text) : text]")]<br>"
3838
announcement += "<br>"
3939

4040
var/s = sound(sound)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.