Skip to content

Commit a30cb00

Browse files
committed
Remove chinook id from ch47LockedCrateNotified when despawned
1 parent 7e314e4 commit a30cb00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/structures/rustPlusMapMarkers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export class RustPlusMapMarkers {
257257
this.rpInstance.sendEventNotification('ch47Despawned', eventText);
258258
}
259259

260+
this.ch47LockedCrateNotified = this.ch47LockedCrateNotified.filter(e => e !== marker.id);
260261
this.ch47s = this.ch47s.filter(e => e.id !== marker.id);
261262
}
262263

0 commit comments

Comments
 (0)