All Questions

Community

S
nodeg

if not unit clarification

Just to clarify, in the _reinitialize function does

if not unit:

do the same thing as

if unit != null:

?

  • Nathan Lovato replied

    No, it's the opposite. It reads as "if there's no unit", in other words, if unit == null