fix possible shares issue
This commit is contained in:
parent
7dc93e5023
commit
32e8e45d4b
@ -562,6 +562,10 @@ thread StockMarket_OnShowShares( playerid )
|
||||
p_PlayerShares[ playerid ] [ stockid ] = shares;
|
||||
p_PlayerHasShare[ playerid ] { stockid } = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
p_PlayerHasShare[ playerid ] { stockid } = false;
|
||||
}
|
||||
}
|
||||
return ShowPlayerDialog( playerid, DIALOG_PLAYER_STOCKS, DIALOG_STYLE_TABLIST_HEADERS, ""COL_WHITE"Stock Market", szLargeString, "Select", "Close" ), 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user