Keeping data between rounds

But according to the documentation session class

A session is specific to a round and not persistent over rounds.

Type for which there is a single instance per round. Use GetSession to get the current round’s session instance. May be used with weak_map to implement global variables. Note: may be changed in a future release to a single instance per game. Round-local behavior should not be relied upon.

Which also explains my behavior in previous reply

1 Like