mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-06 23:51:17 +00:00
Network palette change when picking a preset palette
This commit is contained in:
parent
40fb681eda
commit
9e4599ecb3
1 changed files with 4 additions and 0 deletions
|
@ -380,6 +380,10 @@ static void djui_panel_player_update_preset_palette(UNUSED struct DjuiBase* call
|
||||||
if (sPalettePresetIndex < 1) { return; }
|
if (sPalettePresetIndex < 1) { return; }
|
||||||
configPlayerPalette = gPresetPalettes[sPalettePresetIndex - 1].palette;
|
configPlayerPalette = gPresetPalettes[sPalettePresetIndex - 1].palette;
|
||||||
djui_panel_player_edit_palette_update_palette_display();
|
djui_panel_player_edit_palette_update_palette_display();
|
||||||
|
|
||||||
|
if (gNetworkType != NT_NONE) {
|
||||||
|
network_send_player_settings();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void djui_panel_player_destroy(UNUSED struct DjuiBase* caller) {
|
static void djui_panel_player_destroy(UNUSED struct DjuiBase* caller) {
|
||||||
|
|
Loading…
Reference in a new issue