mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 09:54:28 -05:00
pause disables inputs instead of scripts
This commit is contained in:
@@ -25,7 +25,7 @@ public class dAerialWallRunState : dAerialBaseState
|
||||
}
|
||||
|
||||
//if space is pressed then jumping
|
||||
else if(Input.GetButton("Jump") && !spaceHeld){
|
||||
else if(Input.GetButton("Jump") && !spaceHeld && !aSM.pStats.IsPaused){
|
||||
aSM.SwitchState(aSM.JumpingState);
|
||||
}
|
||||
else if(!Input.GetButton("Jump") && spaceHeld){
|
||||
|
||||
Reference in New Issue
Block a user