View Single Post
Old 01-10-2019, 01:32 AM   #17
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

tpool = {} replaces the table with a new empty one every time. Move that to your initialization code (where number = 0 is) so that it's run only once (or whenever you want to clear all stored values).
cfillion is offline   Reply With Quote