Skip to content
Snippets Groups Projects
Commit 693f7b37 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@4712 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5dfef99b
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,15 @@ function _M:dumpToJSON(js)
dead = self.dead and "dead" or nil,
winner = self.winner and "winner" or nil,
}
local addons = {}
for name, add in pairs(game.__mod_info.addons) do
addons[#addons+1] = add.short_name
end
if #addons > 0 then
tags.addons = table.concat(addons, ',')
end
if self.has_custom_tile then
tags.tile = self.has_custom_tile
js:hiddenData("tile", self.has_custom_tile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment