Fix small error with surface bobbing logic.
Still not being used atm.
This commit is contained in:
parent
cfb04d9325
commit
25faa67878
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue