RE-SS3D / SS3D

Space Station 3D, another remake of SS13, but with an extra D.
https://ss3d.space/
249 stars 138 forks source link

Fix inventory slots rearrange upon creating a new round #1434

Closed David-Goru closed 4 months ago

David-Goru commented 4 months ago

The Slots list in InventoryView.cs was keeping a list of destroyed slots between rounds, breaking the order of slots after the first round

Summary

It's a really small fix, I'm just clearing the Slots list after destroying the slots

PR checklist

Testing

Start a round, stop the round, and start another round during the same play session. Slots should be consistent now

Networking checklist

Changes

Related issues/PRs

Closes #1361

stilnat commented 4 months ago

simple and works well, good job !