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:
parent
1d6e82b4f7
commit
4506ebb289
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user