Allow each mod to have a default version

When a visitor arrives at the site for the first time, this will
ensure they have a certain set of mods on/off. Right now, that means
IC2-Classic is off by default, and everything else is on.
This commit is contained in:
Andrew Miner
2015-03-10 09:57:23 -07:00
parent b1cfe9221e
commit ee75415729
8 changed files with 29 additions and 187 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ urls = [
"#{base}/craft/"
]
for modSlug in DefaultMods
for modSlug, modData of DefaultMods
modSlugs[modSlug] = modSlug
mod = new Mod slug:modSlug