Skip to content

Commit

Permalink
Small hack to allow pointer warping to work
Browse files Browse the repository at this point in the history
Otherwise there is a eval error on the When when since the warp uses a
statement like

```
When /obj/ points /direction/ with length /l/ at $warp ...
```
  • Loading branch information
nmichaud committed Nov 21, 2023
1 parent b8a874e commit 151867f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions virtual-programs/points-at.folk
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
When when /rect/ points /direction/ with length /l/ at /someone/ /lambda/ with environment /e/ {
if {[string match "/*" $rect]} { return }
Wish $rect points $direction with length $l
}

When when /rect/ points /direction/ at /someone/ /lambda/ with environment /e/ {
if {[string match "/*" $rect]} { return }
Wish $rect points $direction with length 1
}

Expand Down

0 comments on commit 151867f

Please sign in to comment.