Dead Sync and Timescale Bug Fix
This commit is contained in:
@@ -149,7 +149,10 @@ public class Player : MonoBehaviour
|
||||
|
||||
if (transform.position.y < 0)
|
||||
{
|
||||
world.ShowDeadScreen();
|
||||
if(Time.timeScale > 0)
|
||||
{
|
||||
world.ShowDeadScreen();
|
||||
}
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
|
||||
Reference in New Issue
Block a user