Skip to content

Commit a4ab802

Browse files
committed
Add comments
1 parent 8ac4feb commit a4ab802

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/managers/rustPlusManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ export class RustPlusInstance {
304304
const rpMapMarkers = await this.rustPlus.getMapMarkersAsync(pairingData.steamId, pairingData.playerToken);
305305
if (!this.validateServerPollResponse(rpMapMarkers, 'mapMarkers', rp.isValidAppMapMarkers)) return;
306306

307+
// if last false and not true, update embed
307308
this.lastServerPollSuccessful = true;
308309
this.lastServerPollSuccessfulTimestampSeconds = Math.floor(Date.now() / 1000);
309310

src/structures/rustPlusMap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export class RustPlusMap {
138138
if (monuments) await this.drawMonuments(ctx);
139139
if (markers) await this.drawMarkers(ctx);
140140
if (tracers) await this.drawTracers(ctx);
141+
// TODO! Draw team map notes
141142

142143
const outBuffer = canvas.toBuffer('image/png');
143144
fs.writeFileSync(`maps/${imageName}`, outBuffer);

0 commit comments

Comments
 (0)