blockpy-edu/blockpy-server

Getting a question correct ALWAYS increments navigation counter

Closed this issue · 1 comments

Even if you have already completed a problem, getting it right gives you another point. It shouldn't give you points if you had already completed the problem.

This was a problem on the client side. Basically, I had two bits of code that were doing, and one of them was passing the wrong argument. I deleted the code in the on_run file, and left the stuff in the server side (less redundant, and only updates when the student has successfully saved to the server).