ZeroK-RTS/Zero-K — pull request #422 by Skasi (2014-12-07 13:36:24+00:00)
Title: Fixes jumpUI crash

fixes #420
the second "not" was bugged and not applied to UnitDefs[unitDefID].customParams.canjump == "1" because brackets were missing

if (not groundPos or not(UnitDefs[unitDefID].customParams.canjump == "1")) then
and
if (not groundPos or UnitDefs[unitDefID].customParams.canjump ~= "1") then
would have both worked

Used De Morgan's laws to make it look clearer.