diff --git a/world/src/sim2/mod.rs b/world/src/sim2/mod.rs index 8e761b62ec..4235ffa96b 100644 --- a/world/src/sim2/mod.rs +++ b/world/src/sim2/mod.rs @@ -568,7 +568,7 @@ fn trade_at_site( break; } } - let paid_amount = allocated_amount - balance / *price; + let mut paid_amount = allocated_amount - balance / *price; if paid_amount / allocated_amount < 0.95 { debug!( "Client {} is broke on {:?} : {} {} severity {}",