Skip to content

Commit 7a9edf8

Browse files
committed
Redo 95b4d88
1 parent 7719fd6 commit 7a9edf8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/funkin/backend/chart/EventsData.hx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ class EventsData {
164164

165165
if (fileTxt.trim() == "") continue;
166166

167-
eventsList.push(eventName);
168-
eventsParams.set(eventName, []);
167+
if (!eventsList.contains(eventName)) {
168+
eventsList.push(eventName);
169+
eventsParams.set(eventName, []);
170+
}
169171

170172
try {
171173
var data:EventInfoFile = cast Json.parse(fileTxt);

0 commit comments

Comments
 (0)