Logo
Explore Help
Sign In
vlad.os/LuaCsForBarotraumaEP
0
0
Fork 0
You've already forked LuaCsForBarotraumaEP
Code Issues Packages Projects Releases Wiki Activity
Files
7a4e0ea1bb873d97fcd80191ee98bd5f9f5516da
LuaCsForBarotraumaEP/Barotrauma/BarotraumaServer/Source/Items
T
History
Joonas Rikkonen 81dd2f3202 (0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)."
2019-06-04 16:02:25 +03:00
..
Components
(1762f02b3) Merge branch 'dev' into human-ai
2019-05-16 05:08:22 +03:00
Inventory.cs
(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
Item.cs
(0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)."
2019-06-04 16:02:25 +03:00
Powered by Gitea Version: 1.26.4 Page: 49ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API