Skip to content

Commit

Permalink
admin interface fix
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Feb 2, 2024
1 parent 9532e2a commit ca38b21
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions code/game/machinery/ARES/ARES_interface_admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,25 @@
logged_techs += list(current_tech)
data["records_tech"] = logged_techs

var/list/security_vents = list()
for(var/obj/structure/pipes/vents/pump/no_boom/gas/vent as anything in link.linked_vents)

Check failure on line 253 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "link"

Check warning on line 253 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "linked_vents"
if(!istype(vent))
continue
if(!vent.vent_tag)
vent.vent_tag = "Security Vent #[link.tag_num]"

Check failure on line 257 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "link"

Check warning on line 257 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "tag_num"
link.tag_num++

Check failure on line 258 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "link"

Check warning on line 258 in code/game/machinery/ARES/ARES_interface_admin.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "tag_num"

var/list/current_vent = list()
var/is_available = TRUE
if(!COOLDOWN_FINISHED(vent, vent_trigger_cooldown))
is_available = FALSE
current_vent["vent_tag"] = vent.vent_tag
current_vent["ref"] = "\ref[vent]"
current_vent["available"] = is_available
security_vents += list(current_vent)

data["security_vents"] = security_vents

return data


Expand Down

0 comments on commit ca38b21

Please sign in to comment.