diff --git a/main.lua b/main.lua index fc0d4b3..bf33656 100644 --- a/main.lua +++ b/main.lua @@ -400,11 +400,7 @@ local function do_reset() else print('trial', trial_i, 'reward:', reward, "("..state..")") end - else - print("reward:", reward, "("..state..")") - end - if trial_i >= 0 then if trial_i == 0 or not cfg.negate_trials then trial_rewards[trial_i] = reward else @@ -630,7 +626,7 @@ local function doit(dummy) if game.get_state() == 'lose' then -- this shouldn't happen if we catch the deaths as above. print("ran out of lives.") - if not cfg.playback_mode then prepare_reset() end + prepare_reset() end -- lose a point for every frame paused.