Speed up wipe effect.

Also, handle when user spams the undo key better.
This commit is contained in:
David Thompson 2024-05-23 16:41:11 -04:00
parent bed3604685
commit d68b5d0491

View file

@ -112,7 +112,8 @@
(set! *actormap* snapshot)
(set! *snapshots* older-snapshots)
(play-sound-effect audio:undo)
(show-effect! (make-wipe-effect 0.25)))))
(unless *current-effect*
(show-effect! (make-wipe-effect 0.15))))))
(define (sort lst compare)
(match lst