Which file is that line in? I'm having trouble locating it in the files located at assets>data
Edit: I believe I found it at src>core>game_world.gd; setting restock to == 0 appears to have fixed that bug, and I am again seeing shop update each day.