Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Vero <[email protected]>
  • Loading branch information
realforest2001 and vero5123 authored Jun 1, 2024
1 parent 42b8493 commit bcbc1f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/game/machinery/ARES/ARES_interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
if(!COOLDOWN_FINISHED(src, printer_cooldown))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
return FALSE
if(!datacore.records_asrs.len)
if(!length(datacore.records_asrs))
to_chat(user, SPAN_WARNING("There are no records to print!"))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
return FALSE
Expand Down Expand Up @@ -389,8 +389,6 @@
"}

for(var/datum/ares_record/requisition_log/req_order as anything in datacore.records_asrs)
if(!istype(req_order))
continue

contents += {"
<tr>
Expand All @@ -403,7 +401,7 @@

contents += "</center></tbody></table>"

var/obj/item/paper/log = new /obj/item/paper(src.loc)
var/obj/item/paper/log = new(loc)
log.name = "ASRS Audit Log"
log.info += contents
log.icon_state = "paper_uscm_words"
Expand Down

0 comments on commit bcbc1f9

Please sign in to comment.