Skip to content

Commit

Permalink
Fixes the voting message not being properly formatted (#5348)
Browse files Browse the repository at this point in the history
# About the pull request

Tag for the html isn't syntactically correct. This fixes this issue so
it will be properly formatted when displayed in the chat

# Explain why it's good for the game

bug bad

<img width="320" alt="Screen Shot 2023-12-30 at 4 07 09 PM"
src="https://github.com/cmss13-devs/cmss13/assets/122310258/58b6456e-ba8d-416a-b463-79df10acc6b6">


# Changelog

:cl:
fix: Fixes voting message not formatting correctly. 
/:cl:
  • Loading branch information
Cthulhu80 authored Jan 1, 2024
1 parent f5929f6 commit ea6e1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ SUBSYSTEM_DEF(vote)
log_vote(text)
var/vp = CONFIG_GET(number/vote_period)
SEND_SOUND(world, sound(vote_sound, channel = SOUND_CHANNEL_VOX, volume = vote_sound_vol))
to_chat(world, SPAN_CENTERBOLD("<br><br><font color='purple'<b>[text]</b><br>Type <b>vote</b> or click <a href='?src=[REF(src)]'>here</a> to place your votes.<br>You have [DisplayTimeText(vp)] to vote.</font><br><br>"))
to_chat(world, SPAN_CENTERBOLD("<br><br><font color='purple'><b>[text]</b><br>Type <b>vote</b> or click <a href='?src=[REF(src)]'>here</a> to place your votes.<br>You have [DisplayTimeText(vp)] to vote.</font><br><br>"))
time_remaining = round(vp/10)
for(var/c in GLOB.clients)
var/client/C = c
Expand Down

0 comments on commit ea6e1a4

Please sign in to comment.