From 95c4080b4a1c39dd849ce1f0413514d86de5af6b Mon Sep 17 00:00:00 2001 From: Pichai Lertwachirakul <46616744+zekodef@users.noreply.github.com> Date: Tue, 29 Dec 2020 22:57:05 +0700 Subject: [PATCH] Make own funiture's orders right Unknown funitures make funiture's orders wrong --- gamemodes/irresistible/cnr/features/houses/furniture.pwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemodes/irresistible/cnr/features/houses/furniture.pwn b/gamemodes/irresistible/cnr/features/houses/furniture.pwn index c891c17..932d9fb 100644 --- a/gamemodes/irresistible/cnr/features/houses/furniture.pwn +++ b/gamemodes/irresistible/cnr/features/houses/furniture.pwn @@ -1126,9 +1126,9 @@ stock ShowOwnedFurnitureList( playerid, houseid ) new furniture_item = getFurnitureID( modelid ); if ( furniture_item != -1 ) { format( szLargeString, sizeof( szLargeString ), "%s%s\n", szLargeString, g_houseFurniture[ furniture_item ] [ E_NAME ] ); - } else { + } /*else { strcat( szLargeString, "Unknown\n" ); - } + } */ } ShowPlayerDialog( playerid, DIALOG_FURNITURE_MAN_SEL, DIALOG_STYLE_TABLIST_HEADERS, "Furniture", szLargeString, "Select", "Back" ); }