From 68c20b79b80e7791cdfd9989c65513542b9ea4c9 Mon Sep 17 00:00:00 2001 From: ShokerStlk Date: Sun, 2 Dec 2018 00:35:51 +0300 Subject: [PATCH] Lua: Removed spam in a console about mouse events in Mixed/Debug build --- res/gamedata/scripts/bind_stalker.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/gamedata/scripts/bind_stalker.script b/res/gamedata/scripts/bind_stalker.script index d3c0a42f272..5b8d4ae2a95 100644 --- a/res/gamedata/scripts/bind_stalker.script +++ b/res/gamedata/scripts/bind_stalker.script @@ -178,11 +178,11 @@ function actor_binder:key_hold(key) end -- mouse move callback (turn on in build_config_defines.h only if absolutely needed) function actor_binder:mouse_move(dx, dy) - log(string.format("mouse moved to: [%d]:[%d]", dx, dy)) + -- log(string.format("mouse moved to: [%d]:[%d]", dx, dy)) end -- mouse wheel callback (direction is 120 up and -120 down) function actor_binder:mouse_wheel(direction) - log(string.format("mouse wheel moved %s", tostring(direction))) + -- log(string.format("mouse wheel moved %s", tostring(direction))) end -- item to ruck callback -- note: this is called on new game and level change