From f603daea63a6e15b3ea7303b3ed2e60079b6059f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 11 Mar 2026 14:13:05 +0100 Subject: clean Player --- lib/colonial_twilight/player.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/colonial_twilight/player.rb b/lib/colonial_twilight/player.rb index ace1e47..943c845 100644 --- a/lib/colonial_twilight/player.rb +++ b/lib/colonial_twilight/player.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'colonial_twilight/turn' +require_relative 'turn' module ColonialTwilight class Player @@ -40,7 +40,7 @@ module ColonialTwilight end def will_be_next_first_eligible? - Game.swap_actions.include? @prev_action + Game.swap_actions.include?(@prev_action) end def may_play_event? -- cgit v1.1-2-g2b99