Skip to content

Commit

Permalink
Fix markers not working on objs made inside closets (#13533)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvv-vvvv authored Jul 21, 2023
1 parent dfe79ba commit 7ee1d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/controllers/subsystem/minimaps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ SUBSYSTEM_DEF(minimaps)

var/turf/target_turf = get_turf(target)

blip.pixel_x = MINIMAP_PIXEL_FROM_WORLD(target_turf.x) + minimaps_by_z["[target.z]"].x_offset
blip.pixel_y = MINIMAP_PIXEL_FROM_WORLD(target_turf.y) + minimaps_by_z["[target.z]"].y_offset
blip.pixel_x = MINIMAP_PIXEL_FROM_WORLD(target_turf.x) + minimaps_by_z["[target_turf.z]"].x_offset
blip.pixel_y = MINIMAP_PIXEL_FROM_WORLD(target_turf.y) + minimaps_by_z["[target_turf.z]"].y_offset

images_by_source[target] = blip
for(var/flag in bitfield2list(hud_flags))
Expand Down

0 comments on commit 7ee1d82

Please sign in to comment.