This commit is contained in:
2025-02-03 15:07:16 -08:00
parent e9f8d9af8e
commit 181e878316
6 changed files with 46 additions and 36 deletions

View File

@ -35,8 +35,10 @@ class Player < ApplicationRecord
self.main_player
end
def alts_concat
self.alternate_players.map(&:name).join(", ")
def main_name
if alt?
self.main_player.name
end
end
def no_circular_references