electricity bugfixes, destructable doors, ai improvements, removed rope, container changes

This commit is contained in:
Regalis
2015-05-27 01:02:30 +03:00
parent a1196d1876
commit 80648ffd46
51 changed files with 701 additions and 509 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace Subsurface
guiFrame = new GUIFrame(new Rectangle(0, 50, 150, 450), Color.Transparent);
listBox = new GUIListBox(new Rectangle(0, 0, 150, 400), Color.Transparent, guiFrame);
listBox = new GUIListBox(new Rectangle(0, 0, 150, 0), Color.Transparent, guiFrame);
listBox.ScrollBarEnabled = false;
listBox.OnSelected = SelectCharacter;
+2
View File
@@ -97,6 +97,8 @@ namespace Subsurface
public void StartShift(int scriptedEventCount = 1)
{
if (crewManager.characterInfos.Count == 0) return;
crewManager.StartShift();
taskManager.StartShift(scriptedEventCount);
}
-1
View File
@@ -20,7 +20,6 @@ namespace Subsurface
for (int i = 0 ; i<amount ; i++)
{
availableCharacters.Add(new CharacterInfo(file));
Debug.Write(availableCharacters.Last().name);
}
}
}