Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented Jan 30, 2026

The intention is for all projectile_ properties to be grouped together
in a "Projectile" group via:

@export_group("Projectile", "projectile")

The second argument is a prefix to strip from properties in the group,
so projectile_follows_player becomes "Follows Player". However, per its documentation:

The grouping will break on the first property that doesn't have a
prefix.

In commit 117e713, var distance was
added right below this @export_group. distance does not have the
prefix, so the group ends.

Move the distance property out of the group section of the file. Move
the projectile_scene property into that group.

@wjt wjt requested a review from a team as a code owner January 30, 2026 10:51
The intention is for all projectile_ properties to be grouped together
in a "Projectile" group via:

```gdscript
@export_group("Projectile", "projectile")
```

The second argument is a prefix to strip from properties in the group,
so `projectile_follows_player` becomes "Follows Player". However, per its documentation:

> The grouping will break on the first property that doesn't have a
> prefix.

In commit 117e713, `var distance` was
added right below this `@export_group`. `distance` does not have the
prefix, so the group ends.

Move the `distance` property out of the group section of the file. Move
the `projectile_scene` property into that group.
@wjt wjt force-pushed the wjt/throwing-enemy-fix-property-grouping branch from 23c4396 to 6a04014 Compare January 30, 2026 10:52
@github-actions
Copy link

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/throwing-enemy-fix-property-grouping.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@manuq manuq merged commit bd68741 into main Jan 30, 2026
6 checks passed
@manuq manuq deleted the wjt/throwing-enemy-fix-property-grouping branch January 30, 2026 16:29
@manuq
Copy link
Collaborator

manuq commented Jan 30, 2026

Thanks @jgbourque for finding the issue.

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

Successfully merging this pull request may close these issues.

3 participants