feedback for loading game

This commit is contained in:
Max Bradbury 2020-11-07 11:10:27 +00:00
parent 080d0853eb
commit 3a8e349aac
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ pub fn load_game(game_data: String) -> String {
let palette_id = game.palette_ids()[0].clone(); let palette_id = game.palette_ids()[0].clone();
state.game = Some(game); state.game = Some(game);
state.palette = Some(palette_id); state.palette = Some(palette_id);
"".to_string() format!("Loaded game")
}, },
_ => { _ => {
state.game = None; state.game = None;