diff --git a/changelog.txt b/changelog.txt index fcca55ee..2802f969 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,10 @@ + Explosives Update + Machines Update +[Version 1.0.1] + ~ Slowed down Udder + + Technical: runAfterLoad() function, pass a function to run after all mods load. See example_mod.js + [Version 1.0 - Full Steam Ahead!] + Radiation + Uranium diff --git a/index.html b/index.html index ba6233ad..70b02ddf 100644 --- a/index.html +++ b/index.html @@ -339,6 +339,11 @@ console.log(e); } } + runAfterLoadList = []; + // runAfterLoad() takes a function and adds it to the runAfterLoadList. + function runAfterLoad(func) { + runAfterLoadList.push(func); + }