HaywireInteractive / OnAllFronts-Public

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

Handle player soldier death when possessing drone #894

Closed Leroy231 closed 5 months ago

Leroy231 commented 5 months ago

In multiplayer we probably don't handle this scenario correctly. UMassCharacterBlueprintLibrary::UnPossessDroneIfNeeded calls UGameplayStatics::GetPlayerPawn which is probably wrong. Also we need to figure out what logic needs to run on client and on server in this case.