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
|
for _, connectedGuid in ipairs(iconCardList[icon]) do
|
||||||
-- If the reciprocal exists, convert it to BiDi, otherwise add as a one-way
|
-- If the reciprocal exists, convert it to BiDi, otherwise add as a one-way
|
||||||
if locationConnections[connectedGuid] ~= nil
|
if locationConnections[connectedGuid] ~= nil
|
||||||
and (locationConnections[connectedGuid][card.getGUID()] == ONE_WAY
|
and (locationConnections[connectedGuid][card.getGUID()] == ONE_WAY
|
||||||
or locationConnections[connectedGuid][card.getGUID()] == BIDIRECTIONAL) then
|
or locationConnections[connectedGuid][card.getGUID()] == BIDIRECTIONAL) then
|
||||||
locationConnections[connectedGuid][card.getGUID()] = BIDIRECTIONAL
|
locationConnections[connectedGuid][card.getGUID()] = BIDIRECTIONAL
|
||||||
locationConnections[card.getGUID()][connectedGuid] = nil
|
locationConnections[card.getGUID()][connectedGuid] = nil
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user