This website requires JavaScript.
Explore
Help
Sign In
vlad.os
/
LuaCsForBarotraumaEP
Watch
0
Star
0
Fork
0
You've already forked LuaCsForBarotraumaEP
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4,088
Commits
5
Branches
2
Tags
a3e67dd40a6c8b46e8dca6c036fefe4ad8ca7ab8
Commit Graph
3 Commits
Author
SHA1
Message
Date
Joonas Rikkonen
5c06210265
(c01fdfc22) Attempt to fix items dropping out of the inventory in multiplayer, part 527: Inventory.ServerRead first drops all items that are in incorrect slots from the inventory, and then places the current items into correct slots. I think the problem was that the items were not necessarily dropped at the exact position of the character, because the physics update is run between the item position update and reading the network event. This occasionally caused the item to end up in a position where the character can't pick it again when placing the items into correct slots. Now the position of the item is forced to the position of the character during the dropping, and the CanClientAccess check is not done on items that were already in the character's inventory.
2019-05-23 15:17:55 +03:00
Joonas Rikkonen
23687fbf2f
aeafa16...4d3cf73
2019-03-18 22:57:05 +02:00
Joonas Rikkonen
044fd3344b
2f107db...5202af9
2019-03-18 21:42:26 +02:00