From ccd810b00884e1cd53f0072199ab9708fbb49c94 Mon Sep 17 00:00:00 2001 From: TWLTriston Date: Thu, 21 Sep 2017 04:48:34 -0400 Subject: [PATCH] Style updates --- locale/gen_ores/glitter_ores.lua | 5 +---- map_layout.lua | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/locale/gen_ores/glitter_ores.lua b/locale/gen_ores/glitter_ores.lua index cdd4582c..b5d93a61 100644 --- a/locale/gen_ores/glitter_ores.lua +++ b/locale/gen_ores/glitter_ores.lua @@ -2,7 +2,7 @@ glitter_debug = false function run_ores_module_setup() - if glitter_debug then game.print("Glitter Ore: debug is enabled; module setup;") end + if glitter_debug then game.print("Glitter Ore: debug is enabled; module setup;") end ore_mix = {} ore_ratios = { @@ -67,9 +67,6 @@ function run_ores_module(event) entity.destroy() local new_entity = surface.create_entity{name = new_name, position = position_old, force="neutral", amount=amount_old} end - else - -- game.print("Skipping") - -- game.print(entity.name) end end end diff --git a/map_layout.lua b/map_layout.lua index 67271ca1..1df0fc74 100644 --- a/map_layout.lua +++ b/map_layout.lua @@ -35,7 +35,7 @@ in this file and your run_*type*_module(event) function will be called. --ores-- --require "locale.gen_ores.neko_crazy_ores" --require "locale.gen_ores.fluffy_rainbows" -require "locale.gen_ores.glitter_ores" +--require "locale.gen_ores.glitter_ores" --everything else. You may use more than one of these, but beware they might not be compatible miscs = {}