(e31a38ae1) Fixed spritebatch not being disposed when saving submarine preview images, don't reload all subs when saving a sub

This commit is contained in:
Joonas Rikkonen
2019-04-05 16:19:40 +03:00
parent 592683afa8
commit d7364171fb
5 changed files with 52 additions and 180 deletions
@@ -161,7 +161,7 @@ namespace Barotrauma
private void OperateRepairTool(float deltaTime)
{
character.CursorPosition = Item.Position;
if (repairTool.Item.RequireAimToUse)
if (Item.RequireAimToUse)
{
character.SetInput(InputType.Aim, false, true);
}