1
This commit is contained in:
parent
ca0834d091
commit
1f7fefe527
@ -219,9 +219,13 @@ void PlayerStats::Statement(Human* sender)
|
|||||||
}
|
}
|
||||||
game_time = f8::App::Instance()->GetNowTime();
|
game_time = f8::App::Instance()->GetNowTime();
|
||||||
if (sender->GetBattleStartTime() <= 0) {
|
if (sender->GetBattleStartTime() <= 0) {
|
||||||
|
game_duration = 0;
|
||||||
|
#ifdef MYDEBUG
|
||||||
abort();
|
abort();
|
||||||
|
#endif
|
||||||
|
} else {
|
||||||
|
game_duration = game_time - sender->GetBattleStartTime();
|
||||||
}
|
}
|
||||||
game_duration = game_time - sender->GetBattleStartTime();
|
|
||||||
statemented = 1;
|
statemented = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user