Skip to content

Commit

Permalink
Fixed bug in 5.7 that prevented startup with m > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
DOSull committed May 16, 2018
1 parent c39e935 commit 4e4d9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base-models/5.7-edenSimple.nlogo
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ end


to-report get-next-occupied
ifelse ticks = 0
ifelse ticks <= m
[ report patch (min-pxcor + world-width / 2) (min-pycor + world-height / 2) ]
[ report one-of perimeter ]
end
Expand Down Expand Up @@ -210,7 +210,7 @@ m
m
0
10
0.0
2.0
1
1
NIL
Expand Down

0 comments on commit 4e4d9a6

Please sign in to comment.