KnuckleCracker / CW4-bug-tracker

The gathering point for bugs and supporting information, or suggestions about additional features.
Creative Commons Attribution Share Alike 4.0 International
13 stars 1 forks source link

[Bug] Blob payload is set to 50 on map load #1071

Closed Fireswamp closed 1 year ago

Fireswamp commented 1 year ago

If you save and load a map, any blobs have their payload set to 50.

Easiest to see on maps with blob payload set to something very high, such as More and More. Blob site at 13.0 seconds without saving and loading: image

By saving and loading at 7.0 seconds (both quicksave/quickload and normal save/normal load gave the effect), the blob site instead looks like this at 13.0 seconds: image Blobs were emitting 50 creeper instead of the expected 500 on that map.

I ran more detailed checks using the following code: GetUnitsByType("blob" 0) ->blobs GetUnitSettings(<-blobs[0]) trace Running this code told me the payload of blobs was being set to 50.

knucracker commented 1 year ago

Fixed in 2.4.8. The blob as not persisting the "payload" variable.