Prevent a crash with @setplayervar

was possible to give nil value for targ:setVar(variable, value);