Skip to content

Commit

Permalink
Линтер Каги - 1:0
Browse files Browse the repository at this point in the history
  • Loading branch information
msw7007 committed Dec 25, 2024
1 parent d85bc8e commit d281134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ SUBSYSTEM_DEF(vote)
)
log_vote("vote finalized", vote_log_data)
if(to_display)
to_chat(world, "\n" + examine_block(span_infoplain(vote_font("[to_display]"))) + "\n", type = MESSAGE_TYPE_OOC) // BANDASTATION EDIT - STORYTELLER: wrap in examine block, use MESSAGE_TYPE_OOC
to_chat(world, span_infoplain(vote_font("[to_display]")))

// Finally, doing any effects on vote completion
current_vote.finalize_vote(final_winner)
Expand Down Expand Up @@ -238,9 +238,9 @@ SUBSYSTEM_DEF(vote)
var/to_display = current_vote.initiate_vote(vote_initiator_name, duration)

log_vote(to_display)
to_chat(world, "\n" + examine_block(span_infoplain(vote_font("[span_bold(to_display)]\n\
to_chat(world, custom_boxed_message("purple_box center", span_infoplain(vote_font("[span_bold(to_display)]<br>\
Type <b>vote</b> or click <a href='byond://winset?command=vote'>here</a> to place your votes.\n\
You have [DisplayTimeText(duration)] to vote."))) + "\n", type = MESSAGE_TYPE_OOC) // BANDASTATION EDIT - STORYTELLER: wrap in examine block, use MESSAGE_TYPE_OOC
You have [DisplayTimeText(duration)] to vote."))))

// And now that it's going, give everyone a voter action
for(var/client/new_voter as anything in GLOB.clients)
Expand Down
7 changes: 3 additions & 4 deletions code/modules/admin/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@
dat += "<hr/>"
if(SSticker.IsRoundInProgress())
dat += "<A href='byond://??src=[REF(src)];[HrefToken()];f_dynamic_ruleset_manage=1'>(Manage Dynamic Rulesets)</A><br>"
dat += {"
*/
dat += "<a href='byond://?src=[REF(src)];[HrefToken()];gamemode_panel=1'>(Game Mode Panel)</a><BR>"
// BANDASTATION EDIT END - STORYTELLER
<BR>
dat += "<a href='byond://?src=[REF(src)];[HrefToken()];gamemode_panel=1'>(Game Mode Panel)</a><BR>"
// BANDASTATION EDIT END - STORYTELLER
dat += {"
<A href='byond://?src=[REF(src)];[HrefToken()];create_object=1'>Create Object</A><br>
<A href='byond://?src=[REF(src)];[HrefToken()];quick_create_object=1'>Quick Create Object</A><br>
<A href='byond://?src=[REF(src)];[HrefToken()];create_turf=1'>Create Turf</A><br>
Expand Down

0 comments on commit d281134

Please sign in to comment.