i stumbled upon a weird crash in my manialink script and i can't figure out why it happens...
Code: Select all
declare PlayerId = NullId;
if (InputPlayer != Null) {
PlayerId = InputPlayer.Id;
} else {
if (GUIPlayer != Null) {
PlayerId = GUIPlayer.Id;
}
}
See Screenshot
but GUIPlayer shouldn't be Null as i'm checking it beforehands
any help would be appreciated
thanks in advance
steff
//Edit: fixed