mirror of
https://github.com/edubart/otclient.git
synced 2025-12-03 16:36:51 +01:00
reorganize modules
This commit is contained in:
21
modules/entergame/entergame.otmod
Normal file
21
modules/entergame/entergame.otmod
Normal file
@@ -0,0 +1,21 @@
|
||||
Module
|
||||
name: entergame
|
||||
description: Manages enter game and character list windows
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
autoLoad: true
|
||||
dependencies:
|
||||
- core
|
||||
- topmenu
|
||||
- background
|
||||
|
||||
onLoad: |
|
||||
require 'entergame'
|
||||
require 'characterlist'
|
||||
EnterGame.create()
|
||||
return true
|
||||
|
||||
onUnload:
|
||||
EnterGame.destroy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user