mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +00:00
Fix crash in Nametag rendering
This commit is contained in:
parent
ccc6ca5d3b
commit
7c799d58b7
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ void djui_hud_print_outlined_text_interpolated(const char* text, f32 prevX, f32
|
|||
}
|
||||
|
||||
void nametags_render(void) {
|
||||
if ((!gNametagsSettings.showSelfTag && network_player_connected_count() == 1) ||
|
||||
if (gNetworkType == NT_NONE ||
|
||||
(!gNametagsSettings.showSelfTag && network_player_connected_count() == 1) ||
|
||||
!gNetworkPlayerLocal->currAreaSyncValid ||
|
||||
find_object_with_behavior(bhvActSelector) != NULL) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue