Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.
missing underscore to _is_openGonsenThere is a typo in the code at the section **Having the GUI open the machine GUI**, `_is_open` is missing the underscore.
The following code:
```gdscript
# If the inventory window is already open, we close it first. This ensures
# we close any currently opened gui from another entity first.
if is_open:
_close_inventories()
```
Should be:
```gdscript
# If the inventory window is already open, we close it first. This ensures
# we close any currently opened gui from another entity first.
if _is_open:
_close_inventories()
```
Oh! I just realized that in the reference code this typo is everywhere, I guess the underscore was added in later versions of the course.50Jun. 02, 2021
Lesson Q&A
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.