Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gameserver.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index b222524..096d8bf 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -504,7 +504,9 @@ void GameServer::frame(unsigned long timestamp)
// run a frame on the module
if (server_module) {
- server_module->frame(elapsed);
+ if (server_module->running())
+ server_module->frame(elapsed);
+
if (server_module->error()) {
abort();
return;