LethalCompanyCommunity / ModdingWiki

Lethal Company Modding Wiki source code.
http://lethal.wiki/
ISC License
65 stars 27 forks source link

Clearer Config Syncing #56

Open LoafOrc opened 10 months ago

LoafOrc commented 10 months ago

On the page for config syncing the SyncedInstance has the method InitInstance which should be called during the constructor. This could be made clearer by making it an actual constructor therefore the person extending it gets an error in their IDE instead of wondering why it isn't working if they forgot the method. I'm not quite sure how this works under the hood but just wanted to see if I could help make it clearer.