Cleaned up some respawn variable changes on hub world to prevent future bugs

This commit is contained in:
Gregory Campbell
2020-01-11 14:15:38 -05:00
parent 24c16b9e8a
commit c6c387760f
+1
View File
@@ -294,6 +294,7 @@ public class PlayerController : MonoBehaviour
if((finished == false || respawn == false) && respawnTime + tenthSec < Time.time)
{
characterController.Move(velocity * Time.deltaTime);
respawn = false;
}
//Move the player in different directions based on camera look direction