Skip to content

Commit 022b059

Browse files
committed
Fixed total bought vars not resetting when starting a new simulation
1 parent 8756d34 commit 022b059

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Sim/write.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ export function writeSimResponse(response: SimResponse) {
275275
'Pub Time'
276276
);
277277

278+
totalBuys = [];
279+
278280
switch (mode) {
279281
case "single": writeSingleSimResponse(response); break;
280282
case "chain": writeChainSimResponse(response); break;

0 commit comments

Comments
 (0)