diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/gameserver.cc | 4 |
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; |