From 30413924698dd626671627b2a6239caa8b58644c Mon Sep 17 00:00:00 2001 From: "Tormod G. Hellen" Date: Sat, 3 Apr 2021 00:16:49 +0200 Subject: [PATCH] Remove dead code. --- server/src/rtsim/entity.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/src/rtsim/entity.rs b/server/src/rtsim/entity.rs index f8ecbeb977..57eada69a4 100644 --- a/server/src/rtsim/entity.rs +++ b/server/src/rtsim/entity.rs @@ -67,10 +67,6 @@ impl Entity { } } - pub fn get_level(&self) -> u32 { - (self.rng(PERM_LEVEL).gen::().powi(2) * 15.0).ceil() as u32 - } - pub fn get_loadout(&self) -> comp::inventory::loadout::Loadout { let mut rng = self.rng(PERM_LOADOUT); let main_tool = comp::Item::new_from_asset_expect(