HaywireInteractive / OnAllFronts-Public

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

Handle player soldier death when possessing drone #894

Closed Leroy231 closed 7 months ago

Leroy231 commented 8 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.