diff --git a/config.lua b/config.lua index a493bea4..1254d3a4 100644 --- a/config.lua +++ b/config.lua @@ -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 = {} diff --git a/follow.lua b/follow.lua index a222e205..a1b29ec0 100644 --- a/follow.lua +++ b/follow.lua @@ -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