From 260d5b0056f1a7177bcc98316592811577a0a565 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sun, 23 Aug 2026 00:39:05 -0700 Subject: lint --- src/content/entities/entity_grenade.rs | 2 +- src/content/materials/liquid.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content') diff --git a/src/content/entities/entity_grenade.rs b/src/content/entities/entity_grenade.rs index ab7aaa4..c13c239 100644 --- a/src/content/entities/entity_grenade.rs +++ b/src/content/entities/entity_grenade.rs @@ -20,7 +20,7 @@ impl EntityBehaviour for GrenadeEntityBehaviour { update_ctx: &mut EntityUpdateCtx, ctx: &mut SimCtx, delta_time: f32, - ) -> () { + ) { self.fuse -= delta_time; if self.fuse <= 0.0 { apply_explosion( diff --git a/src/content/materials/liquid.rs b/src/content/materials/liquid.rs index 6c3bdcd..23ba0fe 100644 --- a/src/content/materials/liquid.rs +++ b/src/content/materials/liquid.rs @@ -57,7 +57,7 @@ pub fn sim_update(ctx: &mut UpdateCtx) -> PostUpdateAction { } } - return PostUpdateAction::Settle; + PostUpdateAction::Settle // we didn't find a hole, so just move "randomly" on the same surface // TODO when to settle? -- cgit v1.3.1