Skip to content

Commit

Permalink
Fix staticmethod for outside_drift_last_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
malleoz committed Nov 26, 2023
1 parent 0dc98bf commit 71f3e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Modules/mkw_classes/kart_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def inst_landing_angle(self) -> float:
def outside_drift_last_dir(player_idx=0) -> vec3:
kart_move_ref = KartMove.chain(player_idx)
outside_drift_last_dir_ref = kart_move_ref + 0xA4
return memory.read_f32(outside_drift_last_dir_ref)
return vec3.read(outside_drift_last_dir_ref)

def inst_outside_drift_last_dir(self) -> vec3:
outside_drift_last_dir_ref = self.addr + 0xA4
Expand Down

0 comments on commit 71f3e92

Please sign in to comment.