summaryrefslogtreecommitdiffstats
path: root/src/game-server/timeout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/timeout.h')
-rw-r--r--src/game-server/timeout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/timeout.h b/src/game-server/timeout.h
index 49805c0..ce15d0b 100644
--- a/src/game-server/timeout.h
+++ b/src/game-server/timeout.h
@@ -62,7 +62,7 @@ class Timeout
/**
* Returns whether the timeout has expired.
*/
- bool expired() const { return remaining() < 0; }
+ bool expired() const { return remaining() <= 0; }
/**
* Returns whether the timeout was reached in the current tick.