Quote:
Originally Posted by LoneAngelIbesu
Also, what's this?
PHP Code:
Pez_Window2.visible = Pez_Window2.visible - 1;
.visible takes boolean values, either 'true' or 'false' (1 or 0). If it's already set to 0, subtracting 1 would leave '-1', which isn't a boolean value.
|
Should be:
PHP Code:
this.bool = 1 - this.bool; // alternative to the line below
this.bool = !this.bool;
Preference and the like, you know what I'm talkin' about :3