]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix ItemMapper whitelist mispredict when inserting or removing items (#29461)
authorShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Sun, 30 Jun 2024 04:34:06 +0000 (21:34 -0700)
committerGitHub <noreply@github.com>
Sun, 30 Jun 2024 04:34:06 +0000 (14:34 +1000)
commitafe9f3ae85076a028c19202278b0f78664556a48
treee81ac5d960dc35dbb7b0ac43a8bf4f5351d09175
parent3aa6270de64667a3d382e5fbb93dda76fb5dc100
Fix ItemMapper whitelist mispredict when inserting or removing items (#29461)

* Fix ItemMapper whitelist mispredict when inserting or removing items

Makes the ItemMapper MapLayerData available on client so that the client
can predict whether an inserted/removed item changes the visibility of
a sprite layer.

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Shared/Storage/Components/SharedMapLayerData.cs
Content.Shared/Storage/EntitySystems/SharedItemMapperSystem.cs