Fixed some bad old scripting code triggering a warning while seeing it.