[entities] Use global 'logAction' in place of local

master
AntumDeluge 2017-05-03 19:41:41 -07:00
parent 4cb8dfc606
commit c9490fffee
1 changed files with 2 additions and 7 deletions

View File

@ -30,13 +30,8 @@ antum.entities.modname = minetest.get_current_modname()
antum.entities.modpath = minetest.get_modpath(antum.entities.modname)
local function logAction(message)
minetest.log('action', '[' .. antum.entities.modname .. '] ' .. message)
end
-- Loading entity definitions
logAction('Loading entity definitions ...')
antum.logAction('Loading entity definitions ...')
antum.def = {}
local defs = {
@ -49,7 +44,7 @@ end
-- Loading entity types
logAction('Loading entity types ...')
antum.logAction('Loading entity types ...')
local types = {
'hostile', 'peaceful', 'npc',
}