I finished coding my new feature, Custom Mobile Platforms for my mod, and I can’t test it because a white screen appears as soon as I start up Game Dev Tycoon.
Mortez-G8 is supposed to be a variable, right? What do u notice?
see:
CustomMP.Mortez-G8 = {
This can’t be right! Mortez - G8 = ?
The JS parser will interpret the “-” as the subtract operator.
So resuming:
Dashes are not legal in javascript variables.
A variable name must start with a letter, dollar sign or underscore and can be followed by the same or a number.