Search found 2 matches
- Wed May 06, 2020 12:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make defaultdict work with rollback [SOLVED]
- Replies: 3
- Views: 492
Re: How to make defaultdict work with rollback
That works, thanks!
- Tue May 05, 2020 11:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make defaultdict work with rollback [SOLVED]
- Replies: 3
- Views: 492
How to make defaultdict work with rollback [SOLVED]
Here's a short game script that shows my problem: init python: from collections import defaultdict default test_dict = defaultdict(int) label start: "Test A" $ test_dict["key"] += 1 $ num = test_dict["key"] "Current value: [num]" "Test B" Between the...