SelinaDev / Godot-Roguelike-Tutorial

Yet Another Roguelike Tutorial in Godot
MIT License
78 stars 10 forks source link

Part 10, hp_display.gd #18

Closed rosskarchner closed 6 months ago

rosskarchner commented 6 months ago

I got through part 10, but noticed that my HP display had stopped working. It looks like you made some changes to hp_display.gd that aren't referenced in the actual tutorial. Once I made the change, it worked.

$ diff part_9/src/GUI/hp_display.gd part_10/src/GUI/hp_display.gd 
8c8,9
<   await ready
---
>   if not is_inside_tree():
>       await ready
SelinaDev commented 6 months ago

Thank you for mentioning this, I will update the tutorial soon!

SelinaDev commented 6 months ago

I just uploaded a version of part 10 that includes a mention of this.