Skip to content

Commit

Permalink
[MIRROR] Fix build mode preview spawning atoms needlessly [MDB IGNORE] (
Browse files Browse the repository at this point in the history
#1012)

* Fix build mode preview spawning atoms needlessly (#80130)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Kyle Spier-Swenson <[email protected]>
  • Loading branch information
3 people authored Dec 7, 2023
1 parent 3c69fae commit b7b32fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/buildmode/buildmode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
preview.name = initial(typepath.name)

// Scale the preview if it's bigger than one tile
var/mutable_appearance/preview_overlay = get_small_overlay(new typepath)
var/mutable_appearance/preview_overlay = get_small_overlay(new /mutable_appearance(typepath))
preview_overlay.appearance_flags |= TILE_BOUND
preview_overlay.layer = FLOAT_LAYER
preview_overlay.plane = FLOAT_PLANE
Expand Down

0 comments on commit b7b32fc

Please sign in to comment.