Fix crash in Nametag rendering
This commit is contained in:
parent
ccc6ca5d3b
commit
7c799d58b7
|
@ -49,7 +49,8 @@ void djui_hud_print_outlined_text_interpolated(const char* text, f32 prevX, f32
|
||||||
}
|
}
|
||||||
|
|
||||||
void nametags_render(void) {
|
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 ||
|
!gNetworkPlayerLocal->currAreaSyncValid ||
|
||||||
find_object_with_behavior(bhvActSelector) != NULL) {
|
find_object_with_behavior(bhvActSelector) != NULL) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue