Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bug fix
  • Loading branch information
graham-trott committed Jun 2, 2020
commit 99ac06fc7068a593ad7f85d4eba2b1ce63b4f7a9
5 changes: 3 additions & 2 deletions iwsy/resources/ecs/blocks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,16 @@ SaveSelectedBlock:
set property PropertyName of Block to PropertyValue
add 1 to N
end
set property BlockName of Blocks to Block
index BlockNameInput to SelectedBlock
put element SelectedBlock of BlockNames into BlockName
if BlockNameInput is not BlockName
begin
print `deleting`
json delete property BlockName of Blocks
put BlockNameInput into BlockName
set element SelectedBlock of BlockNames to BlockName
set property BlockName of Blocks to Block
end
set property BlockName of Blocks to Block
set property `blocks` of Presentation to Blocks

! Tell the parent to refresh the script
Expand Down