From a9f27f5cb0627b68e1b6a84bf1fdffac1c8f7749 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 25 Aug 2022 17:10:31 -0400 Subject: [PATCH] fix(server): remove old workaround --- server/src/web.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/server/src/web.rs b/server/src/web.rs index d55ab7a..4750a77 100644 --- a/server/src/web.rs +++ b/server/src/web.rs @@ -451,18 +451,6 @@ fn contribute_multiple(state: Arc) -> BoxedFilter<(impl Reply, )> { } async fn insert_listing(state: &State, mut listing: PartyFinderListing) -> mongodb::error::Result { - if listing.created_world >= 144 && listing.created_world <= 147 { - listing.created_world += 256; - } - - if listing.home_world >= 144 && listing.home_world <= 147 { - listing.home_world += 256; - } - - if listing.current_world >= 144 && listing.current_world <= 147 { - listing.current_world += 256; - } - let opts = UpdateOptions::builder() .upsert(true) .build();