summaryrefslogtreecommitdiff
path: root/src/char/loginif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/loginif.c')
-rw-r--r--src/char/loginif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/loginif.c b/src/char/loginif.c
index d55701aaa..422c7c589 100644
--- a/src/char/loginif.c
+++ b/src/char/loginif.c
@@ -39,9 +39,9 @@ void loginif_reset(void)
/// If all the conditions are met, it stops the core loop.
void loginif_check_shutdown(void)
{
- if( runflag != CHARSERVER_ST_SHUTDOWN )
+ if( core->runflag != CHARSERVER_ST_SHUTDOWN )
return;
- runflag = CORE_ST_STOP;
+ core->runflag = CORE_ST_STOP;
}