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

[Bug]: AirspaceControl event handler may get lost when clients disconnect #3125

Closed
jaj22 opened this issue Feb 4, 2024 · 0 comments · Fixed by #3126
Closed

[Bug]: AirspaceControl event handler may get lost when clients disconnect #3125

jaj22 opened this issue Feb 4, 2024 · 0 comments · Fixed by #3126
Labels
Bug Something isn't working
Milestone

Comments

@jaj22
Copy link

jaj22 commented Feb 4, 2024

The AirspaceControl functionality is triggered by a GetIn EH added in AIVEHInit. This is run locally where the vehicle is created, which for bought or ungaraged rebel vehicles is on a client. If this client then logs off, the GetIn event handler will no longer trigger for any players and AirspaceControl does not run. For example, this allows players to steal ammo crates from airports while in an undercover civilian heli.

This trigger was always in the wrong place. Should be added with GetInMan in initClient instead.

@jaj22 jaj22 added the Bug Something isn't working label Feb 4, 2024
@Bob-Murphy Bob-Murphy added this to the 3.5 milestone Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants