Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: harryob <[email protected]>
  • Loading branch information
stanalbatross and harryob committed Aug 3, 2023
1 parent 6a3b4b4 commit e211022
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions code/game/machinery/computer/almayer_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
unslashable = TRUE
unacidable = TRUE

COOLDOWN_DECLARE(cooldown_request) // requesting a distress beacon
COOLDOWN_DECLARE(cooldown_destruct) // requesting evac
COOLDOWN_DECLARE(cooldown_central) // messaging HC (admins)
COOLDOWN_DECLARE(cooldown_message) // making a ship announcement
/// requesting a distress beacon
COOLDOWN_DECLARE(cooldown_request)
/// requesting evac
COOLDOWN_DECLARE(cooldown_destruct)
/// messaging HC (admins)
COOLDOWN_DECLARE(cooldown_central)
/// making a ship announcement
COOLDOWN_DECLARE(cooldown_message)

var/list/messagetitle = list()
var/list/messagetext = list()
Expand Down Expand Up @@ -84,7 +88,7 @@
if(!messagetitle.len)
data["messages"] = null
else
for(var/i = 1; i<=messagetitle.len; i++)
for(var/i in 1 to length(messagetitle))
var/list/messagedata = list(list(
"title" = messagetitle[i],
"text" = messagetext[i],
Expand Down

0 comments on commit e211022

Please sign in to comment.