mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
replace require with dofile, rename Hotkeys to Keyboard
This commit is contained in:
@@ -34,4 +34,5 @@ function Client.terminate()
|
||||
Settings.set('window-size', g_window.getUnmaximizedSize())
|
||||
Settings.set('window-pos', g_window.getUnmaximizedPos())
|
||||
Settings.set('window-maximized', g_window.isMaximized())
|
||||
g_window.hide()
|
||||
end
|
||||
|
||||
@@ -3,6 +3,7 @@ Module
|
||||
description: Load all other otclient dependecies
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
canUnload: false
|
||||
|
||||
// NOTE: order does matter
|
||||
dependencies:
|
||||
@@ -16,7 +17,7 @@ Module
|
||||
- game
|
||||
|
||||
onLoad: |
|
||||
require 'client'
|
||||
dofile 'client'
|
||||
Client.init()
|
||||
|
||||
onUnload: |
|
||||
|
||||
Reference in New Issue
Block a user