1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-09-27 20:48:54 +00:00
This commit is contained in:
József Sallai 2023-01-06 10:01:45 +02:00
parent 356f4230b5
commit e975a75ec4

View file

@ -144,10 +144,6 @@ impl PlayerCountMenu {
MenuSelectionResult::Selected(SkinMenuEntry::Skin, _) => { MenuSelectionResult::Selected(SkinMenuEntry::Skin, _) => {
state.player2_skin_location.offset += 2; state.player2_skin_location.offset += 2;
if state.player2_skin_location.texture_index == 1 && state.player2_skin_location.offset == 2 {
state.player2_skin_location.offset += 2;
}
let current_skin_spritesheet_name = let current_skin_spritesheet_name =
state.constants.player_skin_paths[state.player2_skin_location.texture_index as usize].as_str(); state.constants.player_skin_paths[state.player2_skin_location.texture_index as usize].as_str();