about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/editor/ed_io.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/game/editor/ed_io.cpp b/src/game/editor/ed_io.cpp
index 6684a4a9..c0df17c4 100644
--- a/src/game/editor/ed_io.cpp
+++ b/src/game/editor/ed_io.cpp
@@ -1,3 +1,4 @@
+#include <engine/client.h>
 #include <engine/console.h>
 #include <engine/graphics.h>
 #include <engine/storage.h>
@@ -359,11 +360,8 @@ int CEditorMap::Save(class IStorage *pStorage, const char *pFileName)
 	m_pEditor->Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "editor", "saving done");
 	
 	// send rcon.. if we can
-	/*
-	if(Client()->RconAuthed())
-	{
-		Client()->Rcon("sv_map_reload 1");
-	}*/
+	if(m_pEditor->Client()->RconAuthed())
+		m_pEditor->Client()->Rcon("reload");
 	
 	return 1;
 }