- require() implementat
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
other = require("other")
|
||||
|
||||
x=0
|
||||
|
||||
function _init()
|
||||
text="HOLA MINI"
|
||||
text=other.peiv()
|
||||
keyRight = tonumber(getconf("keyright")) or KEY_RIGHT
|
||||
keyLeft = tonumber(getconf("keyleft")) or KEY_LEFT
|
||||
_update=normal_update
|
||||
|
||||
5
data/other.lua
Normal file
5
data/other.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
peiv = function()
|
||||
return "HOLA OTHER UNIT"
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user