mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Optimize a couple things
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user