This commit is contained in:
wuyanchen 2025-12-23 12:10:41 +08:00
parent ee6c07fdc1
commit b9344e3365

View File

@ -6,6 +6,13 @@ require("./lib/EncoderDecoderTogether.min.js");
require('./lib/fetch.js')
//解决Colyseus 无法将函数“class ReflectionField扩展模式#160”的属性“SymbolSymbol.metadata”分配为只读。的问题
Object.defineProperty(Function.prototype, Symbol.metadata, {
value: null,
writable: true,
configurable: true,
});
<%- include(cocosTemplate, {}) %>
// Adapt for IOS, swap if opposite