Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17093

Request minor correction to file functions.lua

$
0
0

@RetryAgain wrote:

The problem:
The arguments to new or create are not pass to the create function.

Solution:

E:\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d\functions.lua

line 198:

change

            cls.__create = function() return super:create() end

to

            cls.__create = function(...) return super:create(...) end

Thank you
Andre

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>