CnCNet / yrpp-spawner

CnCNet DLL for Command and Conquer: Yuri's Revenge using Syringe
GNU General Public License v3.0
21 stars 13 forks source link

Fix remaining issues with statistics file writing #5

Closed Starkku closed 1 year ago

Starkku commented 1 year ago

The previous 'fix' was half-baked and didn't actually address a big issue where it wouldn't actually skip some of the statistics-related code correctly if the condition to write the file wasn't satisfied. While in skirmish or multiplayer this appears to generate no ill effects, it seems to cause singleplayer missions to crash upon completion. This should fix that.

There was also one hook that didn't have anything to do with statistics so I removed it.