DysonSphereMod / QOL

64 stars 34 forks source link

fix multi-threading issue #112

Closed starfi5h closed 3 years ago

starfi5h commented 3 years ago

Closes #109
EjectorComponent.InternalUpdate() is now multi-thread, so using non thread-safe dictionary operations may cause problems. This version uses thread-safe ConcurrentDictionary instead of Dictionary, in exchange for some performance loss.

vrnvorona commented 3 years ago

111 and this looks somewhat similar, maybe there is need to cooperate here? :)

nyqeest commented 3 years ago

@starfi5h hi can you tell me how to use this modification for RailgunRetargeting?

starfi5h commented 3 years ago

@nyqeest You can make your own build as Daedeross suggested, or replace the .dll with this complied file.