[s1938] Fix possible crash due to [s1937]

Thanks Schmoozerd for pointing

(based on commit [12418] - 35ad0ea)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>