mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 07:25:22 +01:00 
			
		
		
		
	Send player position 10 times a second instead of 5. Uses more bandwidth but looks much better.
This commit is contained in:
		| @@ -658,7 +658,7 @@ void Client::step(float dtime) | ||||
| 	{ | ||||
| 		float &counter = m_playerpos_send_timer; | ||||
| 		counter += dtime; | ||||
| 		if(counter >= 0.2) | ||||
| 		if(counter >= 0.1) | ||||
| 		{ | ||||
| 			counter = 0.0; | ||||
| 			sendPlayerPos(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user