From 14800b09f0cc47ab4452039c45ba99295a40e2d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 00:53:34 +0300 Subject: Add chat command /saveposition. Also add it to player context menu. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index fe53ffa61..cdb1fa69c 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1368,4 +1368,10 @@ impHandler(commandSpawnEvilClone) return true; } +impHandler(commandSavePosition) +{ + adminHandler->savePosition(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2