(42b18ccca) Allow to return to the initial combat mode after retreating. Implement reloading (disabled because only reloads one ammunition) -> TODO: only load ammunition when found in the inventory. Implement a generic method for removing subobjectives and resetting the reference. Refuel the repair tool.
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Barotrauma
|
||||
Vector2.Zero, Vector2.Zero, Vector2.Zero, Vector2.Zero
|
||||
};
|
||||
|
||||
Sprite sprite = newObject.Sprite ?? newObject.Prefab.DeformableSprite?.Sprite;
|
||||
Sprite sprite = newObject.Prefab.Sprite ?? newObject.Prefab.DeformableSprite?.Sprite;
|
||||
|
||||
//calculate the positions of the corners of the rotated sprite
|
||||
if (sprite != null)
|
||||
|
||||
Reference in New Issue
Block a user