Speed up wipe effect.
Also, handle when user spams the undo key better.
This commit is contained in:
parent
bed3604685
commit
d68b5d0491
1 changed files with 2 additions and 1 deletions
3
game.scm
3
game.scm
|
@ -112,7 +112,8 @@
|
||||||
(set! *actormap* snapshot)
|
(set! *actormap* snapshot)
|
||||||
(set! *snapshots* older-snapshots)
|
(set! *snapshots* older-snapshots)
|
||||||
(play-sound-effect audio:undo)
|
(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)
|
(define (sort lst compare)
|
||||||
(match lst
|
(match lst
|
||||||
|
|
Loading…
Add table
Reference in a new issue