Fixed crashing when a round starts if the sub has been saved while a fabricator was running. Closes #398
This commit is contained in:
@@ -241,6 +241,12 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
public override void Update(float deltaTime, Camera cam)
|
||||
{
|
||||
if (fabricatedItem == null)
|
||||
{
|
||||
CancelFabricating();
|
||||
return;
|
||||
}
|
||||
|
||||
#if CLIENT
|
||||
if (progressBar != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user