Added scenario_loader plugin, updated hotpatch (new saves now gives the starting items)

This commit is contained in:
Daniel Vestøl committed 2018-09-29 15:21:35 +02:00
1 parent e2566d2d1c
commit 94ac9ca624
46 files changed
+240 -13

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ Functions frequently needed from different places in the cluster. Ex:
*/
module.exports = {config} => {
module.exports = ({config} = {}) => ({
/**
async function to get Lua from a file, remove comments, minify and return.
@@ -38,4 +38,4 @@ module.exports = {config} => {
Promise resolves with a string of Lua.
*/
getCommand: require("./getCommand.js"),
}
})