[TW171] - Custom/Scripts: Try to fix a null pointer crash (meh)