Example #1
0
 private void SetUser(uLink.NetworkPlayer ply)
 {
     if (ply == NetCull.player)
     {
         RPOS.OpenWorkbenchWindow(this);
     }
     else if (this._currentlyUsingPlayer == NetCull.player && ply != this._currentlyUsingPlayer)
     {
         this._currentlyUsingPlayer = uLink.NetworkPlayer.unassigned;
         RPOS.CloseWorkbenchWindow();
     }
     this._currentlyUsingPlayer = ply;
 }