Godot doesn't read my code!

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GunPoint
:warning: Old Version Published before Godot 3 was released.

I just found a bug. I wrote a simple platform movement. Everything works. Almost everything. The problem is, when i change the ‘max_speed’ variable, for example, Godot doesn’t read the new, changed variable, it reads the old one and the game remains the same… unchanged. Why this happens, and how i can fix this issue? Do you had the same problem? Hope there’s a fix.
(BTW Sorry for my bad english, im not a native speaker)

Restarting Godot doesn’t work, same problem happens. Only re-writing the entire code can fix this, but i can’t re-write the entire code when i want to change something

GunPoint | 2017-08-13 14:34

Please put your code to get help

807 | 2017-08-13 14:59

Did you export your max_speed variable? If so, the Inspector setting will override whatever change you make in the GDScript.

kidscancode | 2017-08-13 15:56