From b44b687c3c90642bbe609593b301cd248745dfc6 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Mon, 16 Jun 2025 04:57:50 +0800 Subject: Add CBindings of GameData, GameRuntime --- core/src/data/game/game_data.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/data/game/game_data.rs') diff --git a/core/src/data/game/game_data.rs b/core/src/data/game/game_data.rs index 3bdf28b..35a5c0e 100644 --- a/core/src/data/game/game_data.rs +++ b/core/src/data/game/game_data.rs @@ -71,8 +71,8 @@ impl GameData { } /// Read game runtime archive data - pub fn load_data(&mut self, storage: GameRuntimeDataArchive) -> &mut GameData { - self.archive = storage; + pub fn load_data(&mut self, archive: GameRuntimeDataArchive) -> &mut GameData { + self.archive = archive; self } -- cgit