Pass player object to content function.

master
Beha 2017-09-20 13:53:42 -04:00
parent ebe68443d5
commit a50d83acc4
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function info_booth.display(category, page, name)
local content = info_booth.tables[category].pages[page]
if type(content) == "function" then
content = content()
content = content(engine.get_player_by_name(name))
end
local formspec = "size[12,7]"