From 85576f6d4fa83a0151ea08e2684f7babdfcfc707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 May 2017 18:58:18 +0300 Subject: Allow set image name prefix in chat command /screenshot. --- src/actions/actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 78ebe6406..8de4f8793 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -687,9 +687,9 @@ impHandler0(sit) return false; } -impHandler0(screenshot) +impHandler(screenshot) { - Game::createScreenshot(); + Game::createScreenshot(event.args); return true; } -- cgit v1.2.3-60-g2f50