All Questions

Community

S
Erik Shuttlesworth

Typo in "The code so far"

In ActiveTurnQueue's _ready() method, there is a discrepancy between what's in the lesson and what's in "The code so far". The condition being checked should be 

func _ready():
    for _battler in battlers:
        ...
        if battler.is_party_member:
            _party_members.append(battler)
        ...

not

func _ready():
    for _battler in battlers:
        ...
        if battler.is_player_controlled():
            _party_members.append(battler)
        ...

This needs to be corrected at the end of the "Taking and inflicting damage" lesson too. As well as any other places ActiveTurnQueue appears.