[cs] from proletariatgames/haxe: fix crash when casting a null array
[cs] from proletariatgames/haxe: fix crash when casting a null array

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe