summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index ef7fc6f..ed40e9b 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -525,7 +525,7 @@ void unit_spider_t::on_think(void)
keep_moving(7.0);
- if (!move.moving && wake_time + 5 > game->now)
+ if (!move.moving && wake_time + 5 < game->now)
sleep();
}