Skip to content

Commit

Permalink
disclude binary trigger from params:bang() (#1324)
Browse files Browse the repository at this point in the history
  • Loading branch information
andr-ew authored Mar 11, 2021
1 parent f08197b commit 1219341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/paramset.lua
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ end
--- bang all params.
function ParamSet:bang()
for _,v in pairs(self.params) do
if v.t ~= self.tTRIGGER then
if v.t ~= self.tTRIGGER and not (v.t == self.tBINARY and v.behavior == 'trigger') then
v:bang()
end
end
Expand Down

0 comments on commit 1219341

Please sign in to comment.