Skip to content

Commit 1e58a12

Browse files
committed
trd
1 parent 9ab8be6 commit 1e58a12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simulation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="day-counter">Day 1</h2>
2121

2222
<button class="button" id="next-day">Proceed to Next Day</button>
2323
</main>
24-
<script src="events.js"></script>
24+
<script type="module" src="events.js"></script>
2525
<!-- The script to collect participants follows -->
2626
<script>
2727
function loadParticipants() {
@@ -79,7 +79,7 @@ <h2 id="day-counter">Day 1</h2>
7979

8080
//WE'RE DONE WITH THE ABOVE CODE. Now the event simulation code follows
8181

82-
import { events } from './events.js'; // Adjust the path if needed
82+
8383
function runRandomEvent() {
8484
// Ensure there are alive participants before running events
8585
const aliveMasters = participants.filter(p => p.type === "master" && p.status === "alive");

0 commit comments

Comments
 (0)