Skip to content

Commit

Permalink
fixed transform always portable bug
Browse files Browse the repository at this point in the history
  • Loading branch information
majabbour committed Dec 30, 2021
1 parent aba3dad commit fe766a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/playback/src/gameworld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export default class GameWorld {

case schema.Action.TRANSFORM:
setAction();
this.bodies.alter({ id: robotID, portable: 1});
this.bodies.alter({ id: robotID, portable: 1 - body.portable});
break;

case schema.Action.UPGRADE:
Expand Down

0 comments on commit fe766a8

Please sign in to comment.