mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-08 00:39:30 +02:00
fix banning furnaces from walkways map
This commit is contained in:
parent
c14ca7c37c
commit
19530d91e5
@ -9,7 +9,7 @@ local CoreData = require 'maps.pirates.coredata'
|
||||
local Utils = require 'maps.pirates.utils_local'
|
||||
local _inspect = require 'utils.inspect'.inspect
|
||||
-- local CustomEvents = require 'maps.pirates.custom_events'
|
||||
local SurfacesCommon = require 'maps.pirates.surfaces.common'
|
||||
local IslandsCommon = require 'maps.pirates.surfaces.islands.common'
|
||||
-- local Raffle = require 'maps.pirates.raffle'
|
||||
-- local ShopCovered = require 'maps.pirates.shop.covered'
|
||||
-- local Classes = require 'maps.pirates.roles.classes'
|
||||
@ -33,7 +33,7 @@ function Public.choose_quest_structure_type()
|
||||
|
||||
local rng = Math.random(2)
|
||||
|
||||
if rng == 1 or subtype == SurfacesCommon.enum.WALKWAYS then
|
||||
if rng == 1 or subtype and subtype == IslandsCommon.enum.WALKWAYS then
|
||||
return enum.MARKET1
|
||||
else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user