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

Fix zoom and bad delegate subscription execution ordering #879

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Fueredoriku
Copy link
Contributor

No description provided.

@Fueredoriku Fueredoriku self-assigned this Nov 17, 2024
onFireNoAmmo = null;
onFireStart = null;
onInitializeBullet = null;
onReload = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing onInitializeGun and the delegates on the ProjectileController

DeSubscribeDelegates();
}

public void DeSubscribeDelegates()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps replace De with Un 😔

@@ -216,8 +228,11 @@ private void RpcFireWithNoAmmo()

private void FireGun()
{
if (stats == null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, so this was necessary? 🤔

@toberge toberge force-pushed the fix/weapon-switching branch from 8dbfb0a to 044aa46 Compare November 17, 2024 21:44
@toberge toberge force-pushed the fix/weapon-switching branch from 044aa46 to 20b0c38 Compare November 18, 2024 21:42
@Fueredoriku Fueredoriku linked an issue Nov 22, 2024 that may be closed by this pull request
@Fueredoriku Fueredoriku mentioned this pull request Nov 26, 2024
12 tasks
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.

Gun switching does not work in builds
2 participants