fix SEGV regression from 3e4a3c60d31345a207f747e7b3c9f0b4d08f534a the original keyscript function had a NULL ptr check the real bug must be hidden somewhere else and only be circumvented by that check... so lets just do it the same.
fix SEGV regression from 3e4a3c60d31345a207f747e7b3c9f0b4d08f534a
the original keyscript function had a NULL ptr check
the real bug must be hidden somewhere else and only be circumvented
by that check... so lets just do it the same.

rofl0r/openbor-legacy,rofl0r/openbor-legacy,rofl0r/openbor-legacy,rofl0r/openbor-legacy