Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclops does not load because of a parse error #169

Open
mikerp99 opened this issue May 8, 2024 · 1 comment
Open

Cyclops does not load because of a parse error #169

mikerp99 opened this issue May 8, 2024 · 1 comment

Comments

@mikerp99
Copy link

mikerp99 commented May 8, 2024

The Below is outputted when I setup Cyclops as a Singleton in Godot 4.2.1.

Failed parse script res://addons/cyclops_level_builder/math/data_vector.gd
  Class "DataVector" hides a global script class.
  res://addons/cyclops_level_builder/math/data_vector.gd:26 - Parse Error: Class "DataVector" hides a global script class.
  modules/gdscript/gdscript.cpp:2788 - Failed to load script "res://addons/cyclops_level_builder/math/data_vector.gd" with error "Parse error". (User)

It looks like res://addons/cyclops_level_builder/math/data_vector.gd line 26 defines class_name DataVector as does res://addons/cyclops_level_builder/resources/data_vector.gd line 26.

blackears added a commit that referenced this issue May 8, 2024
@blackears
Copy link
Owner

I've removed the extra class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants