NetLogo/models

Runtime error in Rebellion

Closed this issue · 0 comments

If initial-cop-density + initial-agent-density > 100, setup fails with:

MOVE-TO expected input to be an agent but got NOBODY instead.
error while agent 1632 running MOVE-TO
  called by procedure SETUP
  called by Button 'setup'

on:

move-to one-of patches with [not any? turtles-here]

because there are not enough empty patches.