Remove gemai.ref_to_table

master
Beha 2020-04-14 10:42:47 -04:00
parent 5028d044ae
commit edae027352
1 changed files with 0 additions and 9 deletions

View File

@ -1,14 +1,5 @@
gemai = {}
-- Convert object reference to serializable table.
-- Extend in mods implementing mobs/etc.
-- Returns nil if unable to convert.
function gemai.ref_to_table(obj)
if obj:is_player() then
return {type = "player", id = obj:get_player_name()}
end
end
b.dofile("actions.lua")
b.dofile("context.lua")