Skip to content

Commit

Permalink
fix: wagon stop (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 authored Jan 18, 2025
1 parent 08b2b46 commit 728da78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/server/core/rooms/wagon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class WagonRoom extends BaseRoom {
}

setNearestTarget() {
if (this.wagon.state === 'MOVING' || this.wagonObstacle) {
if (this.wagonObstacle) {
return
}

Expand Down

0 comments on commit 728da78

Please sign in to comment.