Battlefy/Viceroy — pull request #106 by RobertWHurst (2014-04-29 02:25:05+00:00)
Title: Prevent indexOf + splice issues when indexOf returns -1.

Changes:
- Prevent -1 indexOf + splice errors