Quantcast
Channel: forum.freeciv.org
Viewing all articles
Browse latest Browse all 411

Rulesets and modpacks • How to restore a table from a saved game?

$
0
0
My idea is to create a global table from turn 1 and feed it with the IDs of some cities.
Example:

Code:

cities = {}table.insert(cities, city.id)
However, if I load a saved game, this table is reset.
Is there a way to restore it? How?
Thanks

Statistics: Posted by leo.priori — Sat Jan 18, 2025 8:41 am



Viewing all articles
Browse latest Browse all 411

Trending Articles