aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level0.cpp')
-rw-r--r--src/game/Level0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp
index 04af191c03f..f40f937c6c0 100644
--- a/src/game/Level0.cpp
+++ b/src/game/Level0.cpp
@@ -155,7 +155,7 @@ bool ChatHandler::HandleSaveCommand(const char* /*args*/)
// save or plan save after 20 sec (logout delay) if current next save time more this value and _not_ output any messages to prevent cheat planning
uint32 save_interval = sWorld.getConfig(CONFIG_INTERVAL_SAVE);
- if ((save_interval==0 || save_interval > 20*IN_MILISECONDS && player->GetSaveTimer() <= save_interval - 20*IN_MILISECONDS))
+ if ((save_interval == 0 || save_interval > 20*IN_MILISECONDS && player->GetSaveTimer() <= save_interval - 20*IN_MILISECONDS))
player->SaveToDB();
return true;