1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
This commit is contained in:
grilledham 2018-08-07 12:28:57 +01:00
parent 39d5134611
commit c72d4cade5

View File

@ -1,6 +1,6 @@
local Event = require 'utils.event'
local allowed_entites = {
global.allowed_entites = {
['transport-belt'] = true,
['fast-transport-belt'] = true,
['express-transport-belt'] = true,
@ -13,7 +13,7 @@ local allowed_entites = {
['substation'] = true,
['electric-mining-drill'] = true,
['burner-mining-drill'] = true,
['pumpjack'] = true,
['pumpjack'] = true
}
Event.add(
@ -31,7 +31,7 @@ Event.add(
ghost = true
end
if allowed_entites[name] then
if global.allowed_entites[name] then
return
end