Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;