gamendegamer321 / Lethal-Admin

Mod for lethal company adding some administrative functionality like persisting bans and more!
MIT License
3 stars 3 forks source link

Playing in LAN mode attempts to kick the player if RequireSteam is enabled #17

Closed jverif closed 6 months ago

jverif commented 6 months ago

This mod will attempt to kick a LAN player (even the host) if they join while the "RequireSteam" setting is enabled. Could this setting potentially be ignored if in LAN mode? I ran into this testing my mod in a modpack, and I usually use LAN since it's a little bit faster to initialize.

image

It sent me on a little bit of a hunt a minute ago, because this apparently causes unity to try to delete objects that player has "ownership" of, which included some default unlockables that my mod adds.

image

gamendegamer321 commented 6 months ago

I've added a check for LAN-mode, I will probably update the mod this weekend as there are still some things I want to add and that need to be tested. (Part of it is making it possible to decline connections so I don't need to kick them after joining, which hopefully also means that you no longer have the problem of unity trying to delete objects)