LethalCompanyCommunity / LethalAPI.Core

A core modding library for Lethal Company
GNU Lesser General Public License v3.0
24 stars 6 forks source link

Fix dynamic patching #21

Closed Redforce04 closed 10 months ago

Redforce04 commented 10 months ago

Fixes a bug where dynamic patching only patches events. This is the opposite behavior of what should occur and is due to something I overlooked when switching a linq expression to a foreach + list expression. Previously it would only include if an element is not present, but I switched it to continue without adding the list.

This seems to fix the problem.