pvpgn-server/lua/main.lua
HarpyWar f4fff62f82 * add server_handle_rehash to Lua
* function in Lua to save GHost state when rehash
2014-08-02 19:26:01 +04:00

20 lines
350 B
Lua

--[[
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
This file is a part of the PvPGN Project http://pvpgn.pro
Licensed under the same terms as Lua itself.
]]--
-- Entry point
-- Executes after preload all the lua files
function main()
if (config.ah) then
-- start antihack
ah_init()
end
if (config.ghost) then
gh_load()
end
end