diff options
| author | 1992414357@qq.com <1992414357@qq.com> | 2025-06-16 04:57:50 +0800 |
|---|---|---|
| committer | 1992414357@qq.com <1992414357@qq.com> | 2025-06-16 04:57:50 +0800 |
| commit | b44b687c3c90642bbe609593b301cd248745dfc6 (patch) | |
| tree | 69f9b3250d9f0b1f2882054dd43b2af1d66bf4b9 /core/src/data/game/game_data.rs | |
| parent | 2f0b005c7855d83073326fe0d0de8e0c75e1c510 (diff) | |
Add CBindings of GameData, GameRuntime
Diffstat (limited to 'core/src/data/game/game_data.rs')
| -rw-r--r-- | core/src/data/game/game_data.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
