Release 1.8.7.0 - Calm Before the Storm Hotfix 1

This commit is contained in:
Regalis11
2025-04-16 12:46:39 +03:00
parent 38cce0c933
commit 1deef20f21
20 changed files with 103 additions and 53 deletions
@@ -397,6 +397,9 @@ namespace Barotrauma.Items.Components
if (Item.Removed) { return; }
launchPos = simPosition;
LaunchSub = item.Submarine;
//set the rotation of the projectile again because dropping the projectile in Use
//resets the rotation and moves it to the position of the parent item
Item.SetTransform(simPosition, rotation + (Item.body.Dir * LaunchRotationRadians), findNewHull: false);
if (DeactivationTime > 0)
{
deactivationTimer = DeactivationTime;