NotHunter101 / ExtraRolesAmongUs

A BepInEx mod for Among Us that adds 4 new roles into the game. This mod can be played on Innersloth servers.
GNU General Public License v3.0
265 stars 60 forks source link

Simplify ResetVariables/SetInfected #103

Open Popeye4242 opened 3 years ago

Popeye4242 commented 3 years ago

I have simplified the set infected logic by using the same rpc for every role already, https://github.com/NotHunter101/ExtraRolesAmongUs/blob/main/ExtraRoles/Rpc/SetRoleRpc.cs

However I think ResetVariables and SetInfeccted should be merged together and only be sent once. Currently for every set role a rpc is sent.