HomeWildfire Games

Fix this.capacities not always existing when processing value modification…

Description

Fix this.capacities not always existing when processing value modification messages.

rP24670 assumed that this.capacities would always exist, but that proved incorrect, in particular if a value modification message is sent before ownership change is processed.

Fix that by initializing them on init.

Reported by: Langbart

Fixes #6019

Differential Revision: https://code.wildfiregames.com/D3562