mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Fixed collapse on biters error
This commit is contained in:
parent
d80becdc9b
commit
58be972190
@ -259,8 +259,8 @@ local function on_entity_died (event)
|
||||
local text = string_format('+ %d XP', exp)
|
||||
Game.print_floating_text(entity.surface, entity.position, text, {r = 144, g = 202, b = 249})
|
||||
ForceControl.add_experience(force, exp)
|
||||
return
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
if entity.force.name ~= 'enemy' then
|
||||
|
Loading…
Reference in New Issue
Block a user