public override void OnClose() { _tileEntity.SetModified(); _tileEntity.SetUserAccessing(false); GameManager.Instance.TEUnlockServer(_tileEntity.GetChunk().ClrIdx, _tileEntity.ToWorldPos(), _tileEntity.entityId); base.OnClose(); xui.playerUI.entityPlayer.PlayOneShot("close_sign"); if (!string.IsNullOrEmpty(textInput.Text)) { SetText(textInput.Text, true); } else { SetText("Storage", true); } }