mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-23 19:04:32 -05:00
Unlock Cursor after transitioning from the game scene
This commit is contained in:
@@ -101,7 +101,7 @@ public class PlayerMovement : NetworkBehaviour
|
||||
|
||||
// Don't do movement unless this is the local player controlling it
|
||||
// Otherwise we let the server handle moving us
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
// Don't lock the cursor multiple times if this isn't the local player
|
||||
// Also don't want to lock the cursor for the king
|
||||
@@ -114,7 +114,7 @@ public class PlayerMovement : NetworkBehaviour
|
||||
{
|
||||
// Don't do movement unless this is the local player controlling it
|
||||
// Otherwise we let the server handle moving us
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
|
||||
//Controls for camera
|
||||
|
||||
Reference in New Issue
Block a user