Skip to content

Commit

Permalink
Merge pull request #320 from ShokerStlk/pr_xd_dev_2
Browse files Browse the repository at this point in the history
Lua: Removed spam in a console about mouse events in Mixed/Debug build
  • Loading branch information
Xottab-DUTY authored Jan 4, 2019
2 parents 90acf89 + 68c20b7 commit 1027ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/gamedata/scripts/bind_stalker.script
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1027ed7

Please sign in to comment.