mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
ompo script is used in vanilla maps, and causes warnings; move it from _unused and disable the rest of the code
This commit is contained in:
parent
91b7c0bf3f
commit
fb1f31e3b5
1 changed files with 6 additions and 4 deletions
|
@ -17,6 +17,8 @@
|
|||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
-- THIS FILE IS UNUSED
|
||||
|
||||
if not v then v = {} end
|
||||
if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
|
||||
|
||||
|
@ -34,7 +36,7 @@ local function spawnOnNode(me)
|
|||
end
|
||||
|
||||
function init(me)
|
||||
v.n = getNaija()
|
||||
--[[v.n = getNaija()
|
||||
|
||||
if isMapName("TRAININGCAVE") then
|
||||
if isFlag(FLAG_OMPO, 0) then
|
||||
|
@ -65,13 +67,13 @@ function init(me)
|
|||
if isFlag(FLAG_OMPO, 3) then
|
||||
spawnOnNaija(me)
|
||||
end
|
||||
end
|
||||
end]]
|
||||
end
|
||||
|
||||
function update(me, dt)
|
||||
if v.doSetFlag and node_isEntityIn(me, v.n) then
|
||||
--[[if v.doSetFlag and node_isEntityIn(me, v.n) then
|
||||
if isFlag(FLAG_OMPO, 0) then
|
||||
setFlag(FLAG_OMPO, 1)
|
||||
end
|
||||
end
|
||||
end]]
|
||||
end
|
Loading…
Reference in a new issue