From 6aa6cf96c574d439245d65ca9c22ddda4094bf9a Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Thu, 10 Feb 2011 17:32:21 -0800 Subject: [PATCH] clicking an action inserts at the front of the action list --- iffy.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iffy.coffee b/iffy.coffee index 49b75cb..6093a01 100644 --- a/iffy.coffee +++ b/iffy.coffee @@ -403,7 +403,7 @@ class ActorPlayer nevResponse.player_nevIDRespondedTo = nev.ID(); rgnev = @mpnevID_rgnev[nev.ID()] if rgnev? - rgnev.push(nevResponse) + rgnev.splice(0, 0, nevResponse) else @mpnevID_rgnev[nev.ID()] = [nevResponse] RemoveResponse: (nevResponse) ->