blob: 8f85b5e1a57dc9046b46909172573014b5497383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
var __RMV_OVERRIDE = [
{ dst: Utils, src: {
isOptionValid: Utils.isOptionValid,
isMobileSafari: () => true,
}},
{ dst: SceneManager, src: {
shouldUseCanvasRenderer: () => false,
onError: e => {
console.error(e.message)
if (e.filename || e.lineno) console.error(e.filename, e.lineno)
},
}},
]
PluginManager.setup($plugins);
window.onload = function() {
__RMV_OVERRIDE.forEach(o => Object.assign(o.dst, o.src));
SceneManager.run(Scene_Boot);
};
|