Fixed endless messagebox spam when the controlled character turns into a husk, fixed an index our of range exception when merging firesources
This commit is contained in:
@@ -20,9 +20,9 @@ namespace Barotrauma
|
||||
new GUIMessageBox("", InfoTextManager.GetInfoText("HuskCantSpeak"));
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (state != InfectionState.Active && Character.Controlled == character)
|
||||
{
|
||||
if (Character.Controlled == character) new GUIMessageBox("", InfoTextManager.GetInfoText("HuskActivate"));
|
||||
new GUIMessageBox("", InfoTextManager.GetInfoText("HuskActivate"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user