Update lua script

This commit is contained in:
halx99 2021-04-25 22:37:52 +08:00
parent 87be236932
commit 600e96c54c
2 changed files with 2 additions and 3 deletions

View File

@ -2,9 +2,7 @@ if nil == ccs then
return
end
if not json then
json = cjson
end
local json = require 'cjson'
require "cocos.cocostudio.StudioConstants"

View File

@ -22,6 +22,7 @@ THE SOFTWARE.
]]
-- lua-5.4
if (math.pow == nil) then
math.pow = function (x,y)
return x ^ y