Switch to edit mode.
Name(s): _enterfunc _exitfunc1: "Updates the list of contained players when anything enters or leaves."
2: fork (1)
3: this.who = {}
4: for dude in (this.contents)
5: if (is_player(dude))
6: this.who = {@this.who, dude}
7: endif
8: endfor
9: this.free_entry = !this.crowd || this.crowd > length(this.who)
10: endfork
11: return pass(@args)