4 Months Ago
Bugfix: Fix equipped item entity leak into savegames Fixed by tracking whether owher player-entity will be saved or not, and banning equipped items from saving. Tests: - Ran in local editor with known offender 'scientistnpc_junkpile_pistol.prefab' - it no longer orphaned it's items on save-load - Built a local server executable, let it simulate for 30 mins, saved-loaded - there were no instances of 'geiger_counter' and only 1 instance of m92 (out of 253 on the server), it's child `lasersight` also was 0 (out of 143 original)