mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-23 02:12:14 +00:00
Stop pong from ending early.
Pong used to end early because the game would check if secondsleft was 1 after removing one, meaning it would be at 2. Now it checks if secondsleft is 0 which should resolve the issue.
This commit is contained in:
parent
57277a01d6
commit
c56b59a8a3
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ namespace ShiftOS.WinForms.Applications
|
|||
if (this.Left < Screen.PrimaryScreen.Bounds.Width)
|
||||
{
|
||||
secondsleft = secondsleft - 1;
|
||||
if (secondsleft == 1)
|
||||
if (secondsleft == 0)
|
||||
{
|
||||
CompleteLevel();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue