remove barrier thnigs

This commit is contained in:
MichalPP 2018-05-19 11:12:52 +02:00 committed by GitHub
parent 0ebe42dda9
commit b02bd49ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ function setup()
mode.pushing_bike
},
barrier_whitelist = Set {
barrier_whitelist = Set {
'sump_buster',
'bus_trap',
'cycle_barrier',
@ -245,7 +245,7 @@ function process_node(profile, node, result)
end
else
local barrier = node:get_value_by_key("barrier")
if barrier and "" ~= barrier then
if barrier and "" ~= barrier then
if not profile.barrier_whitelist[barrier] then
result.barrier = true
end