diff --git a/source/funkin/util/tools/ArrayTools.hx b/source/funkin/util/tools/ArrayTools.hx index 077b1b8f8..a88f8a861 100644 --- a/source/funkin/util/tools/ArrayTools.hx +++ b/source/funkin/util/tools/ArrayTools.hx @@ -23,13 +23,6 @@ class ArrayTools return result; } - public static function pushUnique(array:Array, element:T):Bool - { - if (array.contains(element)) return false; - array.push(element); - return true; - } - /** * Return the first element of the array that satisfies the predicate, or null if none do. * @param input The array to search