ScaledFallDamageV81
Unofficial rebuild. Scales fall damage with carried weight. v81 multiplayer config-sync NullReferenceException fixed by Cpt.Dristyler. Original by windblownleaves.Changelog
Entries below are for this unofficial v81 rebuild by Cpt.Dristyler. Original mod by windblownleaves — the upstream release history is not duplicated here.
1.0.6 — v81 rebuild by Cpt.Dristyler
- Fixed the multiplayer config-sync crash on Lethal Company v81. The synced
Configclass held BepInExConfigEntry<T>fields, which are not[Serializable].BinaryFormatterinSyncedInstance.SerializeToBytesthrew aSerializationException, the method returnednull, and the host'sOnRequestSyncthen hit aNullReferenceExceptiononarray.Lengthevery time a client requested the config — config never synced and the log spammed errors on each client join. TheConfigEntryfields are now[NonSerialized]; plain serializable value mirrors are synced instead, and gameplay patches read those mirrors (correct on both host and clients). - Recompiled from a decompiled source against current
LethalCompany.GameLibs.Steam(game v81). GUIDwindblownleaves.scaledfalldamageunchanged — configs stay compatible.
