Skip to content

Commit 38a3056

Browse files
authored
bugfix(gunship): Select Spectre Gunship only on the client that controls the unit (TheSuperHackers#2402)
1 parent a140305 commit 38a3056

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/SpectreGunshipDeploymentUpdate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ Bool SpectreGunshipDeploymentUpdate::initiateIntentToDoSpecialPower(const Specia
235235
}
236236

237237
// MAKE THE GUNSHIP SELECTED
238-
239-
TheGameLogic->selectObject( newGunship, TRUE, getObject()->getControllingPlayer()->getPlayerMask(), TRUE );
238+
// TheSuperHackers @bugfix arcticdolphin 04/03/2026 Only select the gunship on the local client that controls the unit.
239+
TheGameLogic->selectObject( newGunship, TRUE, getObject()->getControllingPlayer()->getPlayerMask(), newGunship->isLocallyControlled() );
240240

241241

242242
}

0 commit comments

Comments
 (0)