From 95aad715b636c7e1326b2675668bd0fa12349cf5 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 17 Nov 2025 11:54:58 -0500 Subject: update min rust version to 1.88.0 --- graphics/src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/src') diff --git a/graphics/src/render.rs b/graphics/src/render.rs index 1c10f57..a03d545 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -502,7 +502,7 @@ impl Renderer { Direction::East => (1, 0), Direction::West => (1, 1), }; - if self.timer.since_start().as_millis() / 250 % 2 == 0 { + if (self.timer.since_start().as_millis() / 250).is_multiple_of(2) { // entity animtion frame every 250 millis ax += 2; } -- cgit v1.2.3-freya