Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Help on Reindeer Wakeup [SOLVED]

Here is my code (revised to only include problematic code):

    if reindeer.pos.y > 30:
        deerStatus[deerIndex] == "awake"

The problem is the hero always says that the reindeer is asleep. Please help me!

deerStatus[deerIndex] == "awake" //  == returns boolean value; = is assignment 
                                 //( I know you know it )
1 Like

That was ridiculously easy. Sorry for late reply, and thank you for helping me!