Fixed! Thanks for pointing out the issue, turns out the variable tracking the cost didn't get reset after each play. It should now work properly!