copyMap does not copy containing maps.
Posted: 25 May 2016 16:32
I'm trying to use maps which are inside other maps.
I have a map named "global_gamestate". The map contains other maps e.g. "red". So I can get or set a value using
Now my problem: I want to make a copy of "global_gamestate", but if I use the function copyMap, it does not copy the submaps.
I have a map named "global_gamestate". The map contains other maps e.g. "red". So I can get or set a value using
Code: Select all
global_gamestate["red"]["points"]