Loaded sounds are properly freed, ObjectProperty optimization, expanded skill effects (rangedweapon accuracy, welding efficiency, electrical shocks), armored wearables + ballistic vest & helmet
This commit is contained in:
@@ -607,7 +607,6 @@ namespace Subsurface
|
||||
|
||||
foreach (Item item in Item.itemList)
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine(item.ID);
|
||||
foreach (ItemComponent ic in item.components)
|
||||
{
|
||||
ic.OnMapLoaded();
|
||||
@@ -634,6 +633,8 @@ namespace Subsurface
|
||||
public static void Unload()
|
||||
{
|
||||
if (loaded == null) return;
|
||||
|
||||
Sound.OnGameEnd();
|
||||
|
||||
loaded.Remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user