0 votes
  • parent(parent.gd)

    extends Node2D
    export var towerturnspeed = 10

  • child(Node2D)

    extends "res://parent.gd"
    #result is 10 after i change it to 20 at editor
    func _ready():

is this a bug? or i do it wrong way

edit: after some test, i found that if the variable name is others like 'speed','cost'.... it works, but with this variable name 'towerturnspeed' , it doesn't work......

edit2: solved after restart godot......

in Engine by (12 points)

be prepared to reset godot often (sometimes it's enough to close & open the scene only)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.