diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 4d943feeb4e..473aabdbdab 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -763,8 +763,9 @@ GLOBAL_LIST_INIT(asteroid_floor_smooth, list( if(smoothing_flags) canSmoothWith = GLOB.asteroid_floor_smooth - pixel_x = -4 - pixel_y = -4 + var/matrix/M = new + M.Translate(-4, -4) + transform = M if(light_range && light_power) update_light() diff --git a/code/modules/overmap/exoplanets/decor/turfs/snow.dm b/code/modules/overmap/exoplanets/decor/turfs/snow.dm index 3a877197497..871028010b8 100644 --- a/code/modules/overmap/exoplanets/decor/turfs/snow.dm +++ b/code/modules/overmap/exoplanets/decor/turfs/snow.dm @@ -16,8 +16,9 @@ /turf/simulated/floor/exoplanet/snow/Initialize() . = ..() - pixel_x = -4 - pixel_y = -4 + var/matrix/M = new + M.Translate(-4, -4) + transform = M icon_state = pick("snow[rand(1,2)]","snow0","snow0") QUEUE_SMOOTH_NEIGHBORS(src) QUEUE_SMOOTH(src) diff --git a/html/changelogs/kano-dot-exoplanet-turf-turfing.yml b/html/changelogs/kano-dot-exoplanet-turf-turfing.yml new file mode 100644 index 00000000000..7a5805fbf17 --- /dev/null +++ b/html/changelogs/kano-dot-exoplanet-turf-turfing.yml @@ -0,0 +1,7 @@ + +author: Kano + +delete-after: True + +changes: + - bugfix: "Fixed asteroid expolanet turfs pixel-shifting its own lighting along with itself."