Skip to content

Commit

Permalink
fix whenAvail statement (for real?)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbit-loona authored Dec 25, 2023
1 parent 7491718 commit 409c3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/rays.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var runAfterAutogenMod = "mods/runAfterAutogen2.js";
var libraryMod = "mods/code_library.js";

if(enabledMods.includes(runAfterAutogenMod) && enabledMods.includes(libraryMod)) {
whenAvailable(["runAfterAutogen","code_library"], function() {
whenAvailable(["raaLoaded","libraryLoaded"], function() {
runAfterAutogen(function() {
snowAndIceCache = Object.keys(elements).filter(function(name) {
return name.endsWith("snow") || name.endsWith("ice") || name == "rime"
Expand Down

0 comments on commit 409c3a3

Please sign in to comment.