 1);
				
				if(game_state == GAME.PLAYING)
				{
					
					if(timeOfLastUpdate + TICK_TIME <= timestamp && !gameIsPaused() && (!network_game || (incomingOrders[0] && incomingOrders[0][0] == ticksCounter)))
					{
						
						if(network_game)
						{
							
							// create array with all orders to execute
							incomingOrders[0].splice(0, 1);
							outgoingOrders[0].splice(0, 1);
							var orders = incomingOrders[0].concat(outgoingOrders[0]);
							
							// delete orders that will be executed thi