HaywireInteractive / OnAllFronts-Public

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

Better error messaging when move to command fails #841

Closed Leroy231 closed 9 months ago

Leroy231 commented 9 months ago

In UUnitSelectionComponent::ServerSetMoveToCommandAtLocation_Implementation we use AddOnScreenDebugMessage but this won't work correctly for shipping builds (nor multiplayer). To fix, we should call a client RPC instead which will use ACharacterHUD::AddOnScreenMessage instead.