aboutsummaryrefslogtreecommitdiff
path: root/core/src/data/game/game_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/data/game/game_data.rs')
-rw-r--r--core/src/data/game/game_data.rs4
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
}