mirror of
				https://github.com/minetest-mods/MoreMesecons.git
				synced 2025-10-30 23:55:39 +01:00 
			
		
		
		
	Merge remote-tracking branch 'upstream/master'
This commit is contained in:
		| @@ -4,7 +4,7 @@ local kill_nearest_player = function(pos) | ||||
| 	-- Search the nearest player | ||||
| 	local nearest | ||||
| 	local min_distance = MAX_DISTANCE | ||||
| 	for index, player in pairs(minetest.get_connected_players()) do | ||||
| 	for _, player in pairs(minetest.get_connected_players()) do | ||||
| 		local distance = vector.distance(pos, player:getpos()) | ||||
| 		if distance < min_distance then | ||||
| 			min_distance = distance | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.0 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 454 B | 
		Reference in New Issue
	
	Block a user