diff options
| author | Weicao Mao <1992414357@qq.com> | 2025-06-16 05:00:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-16 05:00:08 +0800 |
| commit | f5072499d9241b22e7a259267cc0315841b7589d (patch) | |
| tree | da0ef21a88131b6e495bf6ec0dc03092e2815a76 /core/src/data/game/game_data.rs | |
| parent | bb7a31c753df0a7663cdcc89aff840384b16564e (diff) | |
| parent | b44b687c3c90642bbe609593b301cd248745dfc6 (diff) | |
Merge pull request #5 from CatilGrass/c_bindings
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 } |
