From e278b48b3eed32b6d8f0ad6b501eb06027fe9255 Mon Sep 17 00:00:00 2001 From: Frankie Fisher Date: Sat, 21 Dec 2024 00:20:42 +0000 Subject: [PATCH] fix: season beta ctf fixes map-specific object imports appear to have changed --- src/objects/impls/arena/body_part.rs | 2 +- src/objects/impls/arena/flag.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objects/impls/arena/body_part.rs b/src/objects/impls/arena/body_part.rs index 8bab22a..278b053 100644 --- a/src/objects/impls/arena/body_part.rs +++ b/src/objects/impls/arena/body_part.rs @@ -2,7 +2,7 @@ use crate::{constants::Part, objects::GameObject, prelude::*}; use js_sys::Object; use wasm_bindgen::prelude::*; -#[wasm_bindgen(module = "arena")] +#[wasm_bindgen(module = "arena/season_beta/capture_the_flag/basic/prototypes")] extern "C" { #[wasm_bindgen(js_name = BodyPart)] pub static BODY_PART_PROTOTYPE: Object; diff --git a/src/objects/impls/arena/flag.rs b/src/objects/impls/arena/flag.rs index ee6d289..b4eeb8b 100644 --- a/src/objects/impls/arena/flag.rs +++ b/src/objects/impls/arena/flag.rs @@ -2,7 +2,7 @@ use crate::{objects::GameObject, prelude::*}; use js_sys::Object; use wasm_bindgen::prelude::*; -#[wasm_bindgen(module = "arena")] +#[wasm_bindgen(module = "arena/season_beta/capture_the_flag/basic/prototypes")] extern "C" { #[wasm_bindgen(js_name = Flag)] pub static FLAG_PROTOTYPE: Object;