Fix error handling logic.
authorDavid Thompson <dthompson2@worcester.edu>
Sun, 26 Aug 2018 02:07:07 +0000 (22:07 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Sun, 26 Aug 2018 02:07:07 +0000 (22:07 -0400)
commit7d64cb370bd5abcdaed9215a33bc450c0bb21bf4
tree83d3354b055cfa6fceef10b644a73f6fe11e4334
parent50a9c810166781c12ab970d042642606dfb0d328
Fix error handling logic.

* chickadee.scm (call-with-error-handling): Call the correct error
handler. Return #t if an error occurred, #f otherwise.
(run-game): Reset current-time and buffer after recovering from an
error.
chickadee.scm