aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-09-02 01:06:16 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-09-02 01:06:16 -0300
commit81aa93cce828eee17fcbd0720f93c5fb2d08a325 (patch)
tree478113add3ff357d68520c4c13faad824b9fca5e
parentdbb589d26206add59e1100dc223f6bc36e00ecdd (diff)
downloadgame-81aa93cce828eee17fcbd0720f93c5fb2d08a325.tar.gz
game-81aa93cce828eee17fcbd0720f93c5fb2d08a325.zip
fix problem with `CronInfo`
-rw-r--r--src/map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cc b/src/map.cc
index 2b3b1e4..7312993 100644
--- a/src/map.cc
+++ b/src/map.cc
@@ -314,7 +314,7 @@ uint32 CronInfo(Object Obj, bool Delete){
TCronEntry *Entry = CronEntry.at(Position);
if(Entry->Obj == Obj){
uint32 Remaining = 1;
- if(Entry->RoundNr < RoundNr){
+ if(Entry->RoundNr > RoundNr){
Remaining = Entry->RoundNr - RoundNr;
}
if(Delete){