diff --git a/src/as/com/threerings/ezgame/client/GameControlBackend.as b/src/as/com/threerings/ezgame/client/GameControlBackend.as index 5b4301d4..e4cc066c 100644 --- a/src/as/com/threerings/ezgame/client/GameControlBackend.as +++ b/src/as/com/threerings/ezgame/client/GameControlBackend.as @@ -915,9 +915,7 @@ public class GameControlBackend protected function toTypedIntArray (array :Array) :TypedArray { var tarray :TypedArray = TypedArray.create(int); - while (array.length > 0) { - tarray.push(int(array.shift())); - } + tarray.addAll(array); return tarray; }