Not running code ?

Blitz3D Forums/Blitz3D Programming/Not running code ?

bit of a weired one this.

Iv got some code, conditions which are being met, but even though the code steps through a few lines and a function the game is not executing the instructions.

	If Game_Over=True
		If MilliSecs()-Game_Over_time => Game_Over_Duration
			Enter_Name()
		End If
	End If


the above condition is met after 4 seconds. At which time it then calls the function.

All the function is then doing is called GUI() which should take the game back to the game menu.

BUT, its not executing this.

Now if I run the code in Debug mode, it still does not execute it.

BUT, if I run it in Debug, and then stop the game and step through it myself, It then Executes it.

TBH this has me really stumped.