Skip to content

Fix Xen grenade vortices crashing when spawning Xen life without pulling mass first - #369

Merged
1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/scripted-xen-grenade-vortex-fix
Nov 9, 2026
Merged

1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/scripted-xen-grenade-vortex-fix

Conversation

@Blixibon

@Blixibon Blixibon commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes a crash that occurs if a vortex controller tries to spawn Xen life without having pulled any mass first, which can occur when using it as part of a map.

The issue was that the lists used to determine spawn recipes and positions were previously only initialized when the vortex controller begins pulling, when they should really be initialized in the constructor. This also supersedes a similar fix in CGravityVortexController::Restore(), which addressed the same issue occurring during save/restore.

@1upD
1upD merged commit 431db41 into entropy-zero:ez2/mapbase Nov 9, 2026
7 of 9 checks passed
@Blixibon
Blixibon deleted the ez2/feature/scripted-xen-grenade-vortex-fix branch November 9, 2026 06:14
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.

2 participants