summaryrefslogtreecommitdiff
path: root/src/lua-interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua-interface.cpp')
-rw-r--r--src/lua-interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 0765f4c..3387c00 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -889,7 +889,8 @@ virtual int startup() throw (GeneralException) {
if (mserver || hserver || tserver) {
TaskMan::Init();
- L->load(&Input(server_fname));
+ if (hserver)
+ L->load(&Input(server_fname));
}
if (hserver) {