diff options
author | Stijn Buys <ingar@osirion.org> | 2008-09-28 15:05:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-09-28 15:05:13 +0000 |
commit | fd778219e40c5fbb4d0af1839cbc313caaf10d9d (patch) | |
tree | b6e413f4c1a5ba4091503ba97c784278485d3933 /src/core/gameserver.cc | |
parent | bedcff956d253621ec00aa7d2919c22a4c88b0b2 (diff) |
move base game module to new subdirectory
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r-- | src/core/gameserver.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index f251b75..e086096 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -114,7 +114,7 @@ GameServer::GameServer() : GameInterface() server_frametime = 0.0f; server_maxplayerid = 1; - server_module = Module::preload(); + server_module = Module::current(); if (!server_module) { con_error << "No module loaded.\n"; abort(); @@ -199,9 +199,6 @@ GameServer::~GameServer() player_disconnect(localplayer()); server_module->shutdown(); - - if (server_module != Module::preload()) - delete server_module; } Func::remove("kick"); |