ocapmod / ocap-legacy

OCAP is a game-changing tool that allows the recording and playback of operations on an interactive (web-based) map.
Other
38 stars 42 forks source link

little fix #65

Closed tekig closed 6 years ago

tekig commented 6 years ago

The check on the border was not working correctly. Example:

_arr = [0, 1, 2, 3];
_cnt = count _arr; // 4
_index = 3;
_arr # _index; // 3 The index within the boundaries of the array.
_index + 1 >= count _array // true
3 + 1 >= 4
JamieGoodson commented 6 years ago

This script has now been removed (in a different branch) as it's no longer necessary. Thanks for contributing though 👍