Skip to content

Commit

Permalink
got this mixed up lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeMaru committed Jul 9, 2024
1 parent d803073 commit 6d4a19c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions source/funkin/util/song/WeekSetup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ class WeekSetup

// Make sure theres no mods from innactive weeks
for (week in modWeeks) {
var mod = Paths.getPathMod(week);
final mod = Paths.getPathMod(week);
if (!ModdingUtil.existsModFolder(mod) || !ModdingUtil.getModActive(mod))
modWeeks.remove(week);
}

//Vanilla weeks go first >:)
if (!hideVanilla) weeks = weeks.concat(vanillaWeeks);
weeks = weeks.concat(globalWeeks);
weeks = weeks.concat(modWeeks.map(week -> Paths.getPathMod(week)));
weeks = weeks.concat(modWeeks.map(week -> Paths.getPathFile(week)));
weeks = CoolUtil.removeDuplicates(weeks);

weekList.clear();
Expand All @@ -100,8 +100,8 @@ class WeekSetup
final modMap:Map<String, String> = [];
for (i in modWeeks) {
modMap.set(
Paths.getPathMod(i),
Paths.getPathFile(i)
Paths.getPathFile(i),
Paths.getPathMod(i)
);
}

Expand Down
2 changes: 1 addition & 1 deletion source/macros/PackagesMacro.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class PackagesMacro
{
public static macro function include()
{
var includePackages:Array<String> = [
final includePackages:Array<String> = [
#if sys "sys", #end
// Copy pasted from codename cuz im lazy lol
"flixel.addons.api", "flixel.addons.display", "flixel.addons.effects", "flixel.addons.ui",
Expand Down

0 comments on commit 6d4a19c

Please sign in to comment.