HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
112 stars 22 forks source link

Make Reaper drone work in MP #978

Open Leroy231 opened 1 month ago

Leroy231 commented 1 month ago

One bug here is that we have BP function IsPlayerCommander which calls UMassCharacterBlueprintLibrary::GetMilitaryUnitForPlayerSoldier which doesn't work correctly in MP because it calls UMilitaryStructureSubsystem::GetUnitForEntity which checks UMilitaryStructureSubsystem.EntityToUnitMap but that's not populated on clients.