ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
209 stars 26 forks source link

'delete null' or 'delete 0' will cause the next class reference to be 0. #261

Closed ItsDeltin closed 1 year ago

Protowalker commented 3 years ago

delete 0 will no longer work on 2.0 because you can't delete the number type, but delete null will still not work. There might also be issues with the Any type, since it could be a number or a class

ItsDeltin commented 3 years ago

The same thing can be achieved doing this:

MyClass myVariable;
delete myVariable;