Skip to content

Commit

Permalink
Fix typo in actor set position
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Apr 11, 2024
1 parent afa869c commit f1227ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/lib/compiler/scriptBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2633,7 +2633,7 @@ extern void __mute_mask_${symbol};
this._addNL();
};

actorSetPositionToToScriptValues = (
actorSetPositionToScriptValues = (
actorId: string,
valueX: ScriptValue,
valueY: ScriptValue,
Expand Down
9 changes: 2 additions & 7 deletions src/lib/events/eventActorSetPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,8 @@ const fields = [
];

const compile = (input, helpers) => {
const { actorSetPositionToToScriptValues } = helpers;
actorSetPositionToToScriptValues(
input.actorId,
input.x,
input.y,
input.units
);
const { actorSetPositionToScriptValues } = helpers;
actorSetPositionToScriptValues(input.actorId, input.x, input.y, input.units);
};

module.exports = {
Expand Down

0 comments on commit f1227ef

Please sign in to comment.