i cant seem to figure it out, been driving me mental for a few hours, the list updates but the foreach variable doesnt.
Heres the code https://paste.myst.rs/imk1c3st
and a video https://gyazo.com/96d73de5b038f03247adf351b28f1882
a powerful website for storing and sharing text and code snippets. completely free and open source.