Lighting bugfixes, setting camera position to character on shift start

This commit is contained in:
Regalis
2015-12-26 22:35:28 +02:00
parent 064e2eadd0
commit 8c032d8368
10 changed files with 49 additions and 26 deletions

View File

@@ -839,7 +839,9 @@ namespace Barotrauma
public bool TrySelectSub(string subName, string md5Hash)
{
Submarine sub = Submarine.SavedSubmarines.Find(m => m.Name == subName);
subName = subName.ToLower();
Submarine sub = Submarine.SavedSubmarines.Find(m => m.Name.ToLower() == subName);
if (sub == null)
{
new GUIMessageBox("Submarine not found!","The submarine ''" + subName + "'' has been selected by the server. Matching file not found in your map folder.");