Remove unnecessary sleep while loading scripts
This commit is contained in:
		
							parent
							
								
									ce7a19ae60
								
							
						
					
					
						commit
						47b499d85b
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
					@ -343,10 +343,6 @@ int main(int argc, char *argv[])
 | 
				
			||||||
	/* Wait for RGSS thread response */
 | 
						/* Wait for RGSS thread response */
 | 
				
			||||||
	for (int i = 0; i < 1000; ++i)
 | 
						for (int i = 0; i < 1000; ++i)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
#ifdef __EMSCRIPTEN
 | 
					 | 
				
			||||||
		emscripten_sleep(10);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		/* We can stop waiting when the request was ack'd */
 | 
							/* We can stop waiting when the request was ack'd */
 | 
				
			||||||
		if (rtData.rqTermAck)
 | 
							if (rtData.rqTermAck)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue