electricity bugfixes, destructable doors, ai improvements, removed rope, container changes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -97,6 +97,8 @@ namespace Subsurface
|
||||
|
||||
public void StartShift(int scriptedEventCount = 1)
|
||||
{
|
||||
if (crewManager.characterInfos.Count == 0) return;
|
||||
|
||||
crewManager.StartShift();
|
||||
taskManager.StartShift(scriptedEventCount);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace Subsurface
|
||||
for (int i = 0 ; i<amount ; i++)
|
||||
{
|
||||
availableCharacters.Add(new CharacterInfo(file));
|
||||
Debug.Write(availableCharacters.Last().name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user