1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge branch 'master' into develop

This commit is contained in:
Valansch 2017-07-30 18:01:09 +02:00
commit a558979cef
2 changed files with 14 additions and 2 deletions

View File

@ -15,7 +15,19 @@ Event.register(-1, function()
rorror = "",
Medival3 = "",
dpoba = "",
settdigger = ""
settdigger = "",
Cheeselicker = "",
cpaca0 = "",
UTIDI = "",
JokerOfTheZ = "",
saltlands = "",
Maniah = "",
COOL = "",
boail = "",
hunter117x = "",
TonyTroll = "",
rorror = "",
HighInFiberOptics = ""
}
global.scenario.variables.player_positions = {}
global.scenario.variables.player_walk_distances = {}

View File

@ -40,7 +40,7 @@ end
local function distance(player_1, player_2)
local d_x = player_1.position.x - player_2.position.x
local d_y = player_1.position.y - player_2.position.y
return math.sqrt(d_x*d_x + d_y + d_y)
return math.sqrt(d_x*d_x + d_y * d_y)
end
function walk_on_tick()
if global.follows.n_entries > 0 then