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 return
end end
if not json then local json = require 'cjson'
json = cjson
end
require "cocos.cocostudio.StudioConstants" require "cocos.cocostudio.StudioConstants"

View File

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