The aim of this project is to create an Advance Wars Clone with a lot of additions customizations and modding support. For Contact Inforamtion see the wiki page. Take a view on the game.
Describe the bug
I've been getting the following error in the game console while trying to debug a mod:
"TypeError: Property 'print' of object [object Object] is not a function in File: qrc:/resources/scripts/general/global.js at Line: 99 File: Line: 0 Function:"
To Reproduce
Steps to reproduce the behavior:
Try to use Math.random() in a mod.
Expected behavior
The console should instead show the error "Unsupported call to Math.random. Please use globals.randInt(min, max) instead"
Desktop (please complete the following information):
Describe the bug I've been getting the following error in the game console while trying to debug a mod: "TypeError: Property 'print' of object [object Object] is not a function in File: qrc:/resources/scripts/general/global.js at Line: 99 File: Line: 0 Function:"
To Reproduce Steps to reproduce the behavior: Try to use Math.random() in a mod.
Expected behavior The console should instead show the error "Unsupported call to Math.random. Please use globals.randInt(min, max) instead"
Desktop (please complete the following information):