Skip to content

Commit

Permalink
reverted walkable neighbour early return
Browse files Browse the repository at this point in the history
  • Loading branch information
master-spike committed Sep 25, 2023
1 parent 4ac36ac commit 6d3bd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suspendmanager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ local function constructionIsUnsupported(job)

-- if no neighbour is walkable it can't be constructed now anyways,
-- this early return helps reduce "spam"
if not hasWalkableNeighbour(pos) then return false end
-- if not hasWalkableNeighbour(pos) then return false end -- commented out pending `walkable()` fix

-- find out what type of construction
local constr_type = building:getSubtype()
Expand Down

0 comments on commit 6d3bd57

Please sign in to comment.