1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00

Remove unused vars

This commit is contained in:
Gerkiz 2022-12-20 13:49:27 +01:00
parent 1d6e82b4f7
commit 4506ebb289
2 changed files with 0 additions and 2 deletions

View File

@ -53,7 +53,6 @@ local function on_chunk_charted(event)
local markets = surface.find_entities_filtered({area = area, name = 'market'})
for _, market in pairs(markets) do
local force_name = market.force.name
local this = ScenarioTable.get_table()
local town_center = this.town_centers[force_name]
if not town_center then
return

View File

@ -50,7 +50,6 @@ function Public.spawn(player)
return
end
local spawn_point = Spawn.get_new_spawn_point(player, surface)
local this = ScenarioTable.get()
this.strikes[player.name] = 0
Spawn.clear_spawn_point(spawn_point, surface)
-- reset cooldown