Permalink
Browse files

load modules before writing config

  • Loading branch information...
1 parent f353fdd commit 4ab18d65c96c8d0a3ab031027a7dc81db64b2316 @killme killme committed May 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 script/alphaserv/init.lua
@@ -47,11 +47,11 @@ if server.file_exists("conf/core.lua") then
alpha.load.file("conf/core.lua", true)
end
+trigger_config()
+
--force proper configuration scheme
alpha.settings.write("conf/core.lua")
-trigger_config()
-
server.event_handler("started", function()
local mem = gcinfo()

0 comments on commit 4ab18d6

Please sign in to comment.