Cleaned up some respawn variable changes on hub world to prevent future bugs
This commit is contained in:
@@ -294,6 +294,7 @@ public class PlayerController : MonoBehaviour
|
|||||||
if((finished == false || respawn == false) && respawnTime + tenthSec < Time.time)
|
if((finished == false || respawn == false) && respawnTime + tenthSec < Time.time)
|
||||||
{
|
{
|
||||||
characterController.Move(velocity * Time.deltaTime);
|
characterController.Move(velocity * Time.deltaTime);
|
||||||
|
respawn = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Move the player in different directions based on camera look direction
|
//Move the player in different directions based on camera look direction
|
||||||
|
|||||||
Reference in New Issue
Block a user