mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Allow reading ticcmd latency
This commit is contained in:
		
							parent
							
								
									95179ed1f3
								
							
						
					
					
						commit
						272640f49a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -743,6 +743,8 @@ static int ticcmd_get(lua_State *L)
 | 
			
		|||
		lua_pushinteger(L, cmd->buttons);
 | 
			
		||||
	else if (fastcmp(field,"driftturn"))
 | 
			
		||||
		lua_pushinteger(L, cmd->driftturn);
 | 
			
		||||
	else if (fastcmp(field,"latency"))
 | 
			
		||||
		lua_pushinteger(L, cmd->latency);
 | 
			
		||||
	else
 | 
			
		||||
		return NOFIELD;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue