Optimize a couple things

This commit is contained in:
Chompstation Bot
2021-07-20 21:30:20 +00:00
parent 4a6c523aa6
commit 15cafbe65b
262 changed files with 9437 additions and 934 deletions

View File

@@ -280,8 +280,7 @@
extras_holder.pixel_y = bgmap.pixel_y = -1*T_y + offset_y
// Populate other mapper icons
for(var/hc in mapping_units)
var/obj/item/device/mapping_unit/HC = hc
for(var/obj/item/device/mapping_unit/HC as anything in mapping_units)
if(HC.mapper_filter != mapper_filter)
continue
var/mob_indicator = HOLOMAP_ERROR
@@ -340,8 +339,7 @@
extras += mark
// Marker beacon items
for(var/hb in mapping_beacons)
var/obj/item/device/holomap_beacon/HB = hb
for(var/obj/item/device/holomap_beacon/HB as anything in mapping_beacons)
if(HB.mapper_filter != mapper_filter)
continue