MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/code/comments/ck6glc/does_anyone_know_whats_wrong_with_my_code/
r/code • u/AquaTehPup • Jul 31 '19
7 comments sorted by
10
if (gameHasEnded == false) {gameHasEnded = true;Restart();}
if (gameHasEnded == false) {
gameHasEnded = true;
Restart();
}
You need to remove the " ; " after(gameHasEnded == false)
And put a " ; " behindgameHasEnded = true
2 u/MrDreamzz_ Jul 31 '19 That's what I thought and said in his previous topic... -1 u/AquaTehPup Jul 31 '19 Put a " ; " where? -1 u/malicart Jul 31 '19 behindgameHasEnded = trueFFS they told you right where. -2 u/AquaTehPup Jul 31 '19 That didnt fix the error that's at the bottom of my post
2
That's what I thought and said in his previous topic...
-1
Put a " ; " where?
-1 u/malicart Jul 31 '19 behindgameHasEnded = trueFFS they told you right where. -2 u/AquaTehPup Jul 31 '19 That didnt fix the error that's at the bottom of my post
behindgameHasEnded = true
behind
gameHasEnded = true
FFS they told you right where.
-2 u/AquaTehPup Jul 31 '19 That didnt fix the error that's at the bottom of my post
-2
That didnt fix the error that's at the bottom of my post
3
This seems like something put here to stimulate this thread.
0
Put the Restart Function after the other one
10
u/Binau-01 Jul 31 '19
if (gameHasEnded == false) {gameHasEnded = true;Restart();}You need to remove the " ; " after
(gameHasEnded == false)
And put a " ; " behind
gameHasEnded = true