From ffbae57a25ae8e376959bfc91095bb6ab97230e0 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Mon, 19 Nov 2018 02:55:57 +0100 Subject: [PATCH] Fix code ordering in ChessRules.constructor --- public/javascripts/base_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/base_rules.js b/public/javascripts/base_rules.js index f08c272b..7f4052ac 100644 --- a/public/javascripts/base_rules.js +++ b/public/javascripts/base_rules.js @@ -51,9 +51,9 @@ class ChessRules { this.moves = moves; // Use fen string to initialize variables, flags and board - this.initVariables(fen); this.board = VariantRules.GetBoard(fen); this.flags = VariantRules.GetFlags(fen); + this.initVariables(fen); } initVariables(fen) -- 2.44.0