Skip to content
Snippets Groups Projects
Commit 23f9cc4d authored by dg's avatar dg
Browse files

Fixed online charsheet ESP

git-svn-id: http://svn.net-core.org/repos/t-engine4@6600 51575b47-30f0-44d4-a5cc-537603b46e54
parent aacf40f6
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ function _M:dumpToJSON(js, bypass, nosub)
-- Vision
-------------------------------------------------------------------
local esp = table.keys(self.esp)
local esp = {}
for k, e in pairs(self.esp) do if type(e) == "number" and e > 0 then esp[#esp+1] = k end end
js:newSection("vision", {
lite = self.lite,
range = self.sight,
......
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