Open mugg91 opened 1 year ago
getMap().getBlobs()
is pretty much a relic from the past, back when the game was written with the assumption that CMap
s could exist. This assumption has not been true for a very long time. Maybe it should just be removed entirely since there aren't any users (else they'd be super broken)...
Description
Blobs fetched via
getBlobs(@bloblist)
will give proper values, whereas Blobs fetched viagetMap().getBlobs()
seem to be broken as they will give garbage values.This is the conclusion I came to after hours of researching issue #1543 (War Base crash bug) - see the comments to learn more.
Verified by placing this in
Food.as
:and spawning a food, then looking at logs:
Only
WAR_base.as
usesgetMap().getBlobs()
so there is not much harm.