Skip to content

Commit ee9470e

Browse files
committed
Fix selector refresh after save
1 parent c47b317 commit ee9470e

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

resources/ecs/life.ecs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,8 @@
6464
put `#db9` into Center
6565
put `blue` into Alive
6666

67-
! create Screen
68-
attach Screen to `ex-life`
69-
70-
on message
71-
begin
72-
if the message is `hide` clear Screen
73-
else go to Start
74-
end
75-
set ready
76-
stop
77-
78-
Start:
7967
! Set up the screen
68+
create Screen
8069
set the style of Screen to `width:100%`
8170
put the width of Screen into Width
8271
put Width into Height
@@ -229,6 +218,7 @@ DoSave:
229218
end
230219
put prompt `File name:` with `` into FileName
231220
put JSON into storage as `life-` cat FileName
221+
gosub to ResetKeySelector
232222
stop
233223

234224
! Load a saved map

0 commit comments

Comments
 (0)