feedback for loading game
This commit is contained in:
parent
080d0853eb
commit
3a8e349aac
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue