Make mob functions global

master
PilzAdam 2012-09-19 16:50:47 +02:00
parent 47af2647f2
commit d7212dc8bc
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
local mobs = {}
mobs = {}
function mobs:register_monster(name, def)
minetest.register_entity(name, {
hp_max = def.hp_max,