Skip to content

Commit 9b29895

Browse files
authored
Fix Portrait Announcements being Cut Off and Changes the Sound (#856)
1 parent 67704c4 commit 9b29895

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

code/modules/maptext_alerts/command_alert.dm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
log_game("[key_name(human_owner)] has broadcasted the hud message [text] at [AREACOORD(human_owner)]")
4747
var/override_color
4848
var/list/alert_receivers = list()
49-
var/sound_alert
49+
var/sound_alert = 'sound/effects/radiostatic.ogg'
5050
var/announcement_title
5151

5252
if(human_owner.assigned_squad)
@@ -72,12 +72,10 @@
7272
override_color = "green"
7373
else
7474
override_color = "grey"
75-
sound_alert = 'sound/misc/notice2.ogg'
7675
else
7776
for(var/mob/living/carbon/human/alerted in GLOB.alive_human_list)
7877
if(alerted.faction == human_owner.faction)
7978
alert_receivers += alerted
80-
sound_alert = 'sound/effects/sos-morse-code.ogg'
8179
announcement_title = "[human_owner.job]'s Announcement"
8280
alert_receivers += GLOB.observer_list
8381
if(GLOB.radio_communication_clarity < 100)

code/modules/maptext_alerts/misc_alert.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
/atom/movable/screen/text/screen_text/potrait
4848
screen_loc = "LEFT,TOP-3"
4949
maptext_height = 64
50-
maptext_width = 480
50+
maptext_width = 400
5151
maptext_x = 66
5252
maptext_y = 0
5353
letters_per_update = 2
@@ -85,6 +85,7 @@
8585
/atom/movable/screen/text/screen_text/picture/potrait_custom_mugshot
8686
image_to_play = "custom"
8787
screen_loc = "LEFT,TOP-3"
88+
maptext_width = 400
8889
image_to_play_offset_y = 0
8990
maptext_y = 0
9091
letters_per_update = 2

0 commit comments

Comments
 (0)