Fix small error with surface bobbing logic.

Still not being used atm.
This commit is contained in:
Max 2023-07-19 01:06:03 -05:00 committed by GitHub
parent cfb04d9325
commit 25faa67878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,7 +293,7 @@ local function surfaceSwimBob(m: Mario)
sBobTimer += sBobIncrement
if sBobTimer >= 0 then
m.GfxPos += Vector3.new(sBobHeight * Util.Sins(sBobTimer))
m.GfxPos += Vector3.new(0, sBobHeight * Util.Sins(sBobTimer), 0)
return
end
end