summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 501568fc6..a57e71374 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -1002,7 +1002,7 @@ void cClientHandle::HandleSlotSelected(short a_SlotNum)
void cClientHandle::HandleWindowClose(char a_WindowID)
{
- m_Player->CloseWindow(a_WindowID);
+ m_Player->CloseWindowIfID(a_WindowID);
}