GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.05k stars 150 forks source link

Lesson 14 exercise 1 - you can complete exercise without multiplying correctly #907

Open QWERTIOX opened 8 months ago

QWERTIOX commented 8 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the bug:

  1. Go to lesson 14 exercise 1
  2. Run code:
    
    var level = 1
    var max_health = 100

func level_up(): level+=1 max_health+=max_health/10 max_health*=1



**Expected behavior**
Fail the exercise because we are not multiplying by 1.1 but using addiction 

**Screenshots**
![image](https://github.com/GDQuest/learn-gdscript/assets/64694795/4e6ffb09-4b0f-494c-b1f2-f5f40cad4451)

**Information about your device (please complete the following information):**
 - Operating System: Linux Debian
 - Version: Learn GDScript 1.5.2 from github releases zip file