I can't save a value of a dictionary at a specific time (like for a save system with multiple save slots). All slots just update with the variable they were copied from.
It looks like this:
var current_data = {"test": 1} "test" += 1 #every frame increase the value
var slots = {
"1" = {},
"2" = {},
}
After saving current_data to a slot (once, by pressing a button), the value in these slots keeps updating.
Here's link to a simple project with this problem:
https://drive.google.com/file/d/18sNVh32UUWbBQA2prkwBtC-NmAm9RdTX/view?usp=sharing