mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
add target cursor
This commit is contained in:
@@ -19,3 +19,4 @@ Module
|
||||
require 'effects'
|
||||
require 'settings'
|
||||
require 'hotkeys'
|
||||
require 'cursor'
|
||||
|
7
modules/core_lib/cursor.lua
Normal file
7
modules/core_lib/cursor.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
function setTargetCursor()
|
||||
g_window.setMouseCursor('/core_styles/icons/targetcursor.png')
|
||||
end
|
||||
|
||||
function restoreCursor()
|
||||
g_window.restoreMouseCursor()
|
||||
end
|
Reference in New Issue
Block a user