HasAuthority() is not always the server

Hello! Just wanted to point out that HasAuthority() being true does not mean it is the server. While it is mostly the case, clients have authority over actors the spawn. Instead of HasAuthority(), use GetNetMode() and compare it to NM_DedicatedServer or NM_ListenServer.


Thank you! It’s always nice to come across such small but useful tips :slight_smile:

Privacy & Terms