Format fix
This commit is contained in:
parent
cae7f99b3e
commit
f7587133a4
@ -286,8 +286,8 @@ function buildConnection(cardId, iconCardList)
|
||||
for _, connectedGuid in ipairs(iconCardList[icon]) do
|
||||
-- If the reciprocal exists, convert it to BiDi, otherwise add as a one-way
|
||||
if locationConnections[connectedGuid] ~= nil
|
||||
and (locationConnections[connectedGuid][card.getGUID()] == ONE_WAY
|
||||
or locationConnections[connectedGuid][card.getGUID()] == BIDIRECTIONAL) then
|
||||
and (locationConnections[connectedGuid][card.getGUID()] == ONE_WAY
|
||||
or locationConnections[connectedGuid][card.getGUID()] == BIDIRECTIONAL) then
|
||||
locationConnections[connectedGuid][card.getGUID()] = BIDIRECTIONAL
|
||||
locationConnections[card.getGUID()][connectedGuid] = nil
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user