fix bug
This commit is contained in:
@@ -27,6 +27,7 @@ public class TrapPlacementController : NetworkBehaviour
|
||||
void Update()
|
||||
{
|
||||
// Only run placement logic for the local player who is a Trapper
|
||||
if (Object == null) return;
|
||||
if (!Object.HasInputAuthority) return;
|
||||
if (playerData == null || playerData.PlayerRole != _Role.Trapper) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user