List of linkable subs in the editor is refreshed after saving a new sub

This commit is contained in:
Regalis
2016-12-14 17:00:09 +02:00
parent a2f19a3b16
commit d7ed27381f
4 changed files with 23 additions and 14 deletions

View File

@@ -896,11 +896,8 @@ namespace Barotrauma
}
}
public static void Preload()
public static void RefreshSavedSubs()
{
//string[] mapFilePaths;
//Unload();
SavedSubmarines.Clear();
if (!Directory.Exists(SavePath))