mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-11-06 09:09:26 +02:00
Fixed exp scope
This commit is contained in:
@@ -218,8 +218,8 @@ local function on_entity_died (event)
|
|||||||
|
|
||||||
--For bot mining
|
--For bot mining
|
||||||
if not cause or cause.type ~= 'player' or not cause.valid then
|
if not cause or cause.type ~= 'player' or not cause.valid then
|
||||||
if force == 'player' then
|
|
||||||
local exp
|
local exp
|
||||||
|
if force == 'player' then
|
||||||
if entity.name == 'sand-rock-big' then
|
if entity.name == 'sand-rock-big' then
|
||||||
exp = floor(sand_rock_xp/2)
|
exp = floor(sand_rock_xp/2)
|
||||||
elseif entity.name == 'rock-huge' then
|
elseif entity.name == 'rock-huge' then
|
||||||
|
|||||||
Reference in New Issue
Block a user