mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-14 16:27:19 +00:00
don't show "..." button in Peds window on clients
This commit is contained in:
parent
780a02e842
commit
e649952aa9
1 changed files with 5 additions and 2 deletions
|
@ -120,8 +120,11 @@ namespace SanAndreasUnity.UI {
|
|||
|
||||
// display button which will open additional options
|
||||
itemRect = GUIUtils.GetNextRectInARowPerc (rect, ref i, buttonSpacing, widthPercsButtons);
|
||||
if (GUI.Button (itemRect, "...")) {
|
||||
m_currentPedIdWithOptions = def.Id;
|
||||
if (NetUtils.IsServer)
|
||||
{
|
||||
if (GUI.Button (itemRect, "...")) {
|
||||
m_currentPedIdWithOptions = def.Id;
|
||||
}
|
||||
}
|
||||
|
||||
if (m_currentPedIdWithOptions == def.Id) {
|
||||
|
|
Loading…
Reference in a new issue