mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
Merge pull request #2097 from ctrlaltca/fix_shutdown
Remove additional minute in server shutdown
This commit is contained in:
@@ -598,7 +598,7 @@ void Servatrice::statusUpdate()
|
||||
void Servatrice::scheduleShutdown(const QString &reason, int minutes)
|
||||
{
|
||||
shutdownReason = reason;
|
||||
shutdownMinutes = minutes + 1;
|
||||
shutdownMinutes = minutes;
|
||||
nextShutdownMessageMinutes = shutdownMinutes;
|
||||
if (minutes > 0) {
|
||||
shutdownTimer = new QTimer;
|
||||
|
||||
Reference in New Issue
Block a user