X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=scribe%2Fscribe.jsx;h=2cc51483c3a429f5a2f0d0e91d7ddf0deda8109c;hp=07920773c9f79caa371b178639deaa35fea5a040;hb=c6ffca52b75480ad51ff1907a990b02f64885476;hpb=e79802f7979a2b3162efb0968c223f527d354410 diff --git a/scribe/scribe.jsx b/scribe/scribe.jsx index 0792077..2cc5148 100644 --- a/scribe/scribe.jsx +++ b/scribe/scribe.jsx @@ -405,7 +405,7 @@ class Board extends React.Component { let active = false; if (this.props.active) { active = true; - if (this.props.last_two_moves[0]) { + if (this.props.last_two_moves.length > 1) { /* First index (0) gives us our last move, (that is, of the * last two moves, it's the first one, so two moves ago). *