Skip to content

Commit

Permalink
Fix physics change to 0 not working
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Oct 19, 2024
1 parent a1aac7d commit ac65eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/apis/physics/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ local function update(name)
end
end

if (override.jump or 0) == 0 then
if (override.jump or -1) < 0 then
override.jump = 1.1
end

if (override.speed or 0) == 0 then
if (override.speed or -1) < 0 then
override.speed = 1.1
end

Expand Down

0 comments on commit ac65eb8

Please sign in to comment.