From 561e41c760787de7c63ae45e41cc95dda8ecf7db Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Fri, 28 Feb 2025 13:13:59 -0800
Subject: [PATCH] common: delete unused ModesUpdate

---
 lib/common/src/gameplay_modes.rs | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/lib/common/src/gameplay_modes.rs b/lib/common/src/gameplay_modes.rs
index 33d73db46..711ab5861 100644
--- a/lib/common/src/gameplay_modes.rs
+++ b/lib/common/src/gameplay_modes.rs
@@ -365,18 +365,6 @@ impl ModeUpdate{
 		}
 	}
 }
-pub struct ModesUpdate{
-	modes:HashMap<ModeId,ModeUpdate>,
-}
-impl ModesUpdate{
-	fn apply_to(self,modes:&mut Modes){
-		for (ModeId(mode_id),mode_update) in self.modes{
-			if let Some(mode)=modes.modes.get_mut(mode_id as usize){
-				mode_update.apply_to(mode);
-			}
-		}
-	}
-}
 
 struct ModeBuilder{
 	mode:Mode,