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

[Feature] Verion Check By Client Id #178

Open
NikoCat233 opened this issue Jan 6, 2024 · 1 comment
Open

[Feature] Verion Check By Client Id #178

NikoCat233 opened this issue Jan 6, 2024 · 1 comment
Assignees

Comments

@NikoCat233
Copy link
Contributor

EnhancedNetwork/TownofHost-Enhanced#411
建议把Version check 从基于playerid 改为基于client id
因为client id 不会重复使用且有先后顺序

修来自TOHE 2.3.6的远古bug

@NikoCat233
Copy link
Contributor Author

NikoCat233 commented Jan 6, 2024

if (Main.HostClientId == __instance.ClientId)

这个地方,太傻比了
因为main.hostclientid从来没有被正确赋值过而导致的伟大狮山

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

No branches or pull requests

2 participants