[3.2 RC5] Probably a bug: Missing event handler body does not cause any error

Started by Crimson Wizard, Tue 06/07/2010 18:52:37

Previous topic - Next topic

Crimson Wizard

Simple: if you have an event handler function name assigned to the corresponding object's (gui, etc) property, but there's no real function (e.g. you deleted it), there will be no error or warning shown neigher during compilation or during game run (even when you interact with an object).

Pumaman

As I remember, it had to be done this way because the import of old 2.72 games would sometimes generate this sort of situation in the room scripts. However, it would be a good idea to add an option for new games to enable this checking.

SMF spam blocked by CleanTalk