mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
[MIRROR] Minor plane cube cleanup [MDB IGNORE] (#18223)
* Minor plane cube cleanup (#72038) ## About The Pull Request [Fixes area lighting not working on turf change in multiz cases](https://github.com/tgstation/tgstation/commit/7b92deffbca92a834cb0a361fd685de51a12ea53) If you modify a area lit turf when using multiz, it'd end up using the wrong plane for its light, because of stupid shit on my part. Stupid shit resolved [Fixes some uses of plane masters that only specified one rather then all](https://github.com/tgstation/tgstation/commit/a59ec96d29710b967bf8b3ffe8210b230cb194b3) We almost never only want to show SOME hidden planes. Should really make a helper for this someday * Minor plane cube cleanup Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
. = ..()
|
||||
if(!.)
|
||||
return
|
||||
var/atom/game_renderer = mod.wearer.hud_used.get_plane_master(RENDER_PLANE_GAME)
|
||||
var/atom/game_renderer = mod.wearer.hud_used.get_plane_master(MUTATE_PLANE(RENDER_PLANE_GAME, mod.wearer))
|
||||
var/matrix/render_matrix = matrix(game_renderer.transform)
|
||||
render_matrix.Scale(1.25, 1.25)
|
||||
animate(game_renderer, launch_time, transform = render_matrix)
|
||||
|
||||
Reference in New Issue
Block a user