Skip to content

Commit

Permalink
corrects a typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
philcampeau committed Dec 23, 2024
1 parent 6087aa1 commit 73d9bcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/engine/game/g_1849/step/bond.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module G1849
module Step
class Bond < Engine::Step::Base
def actions(entity)
return [] if @game.bonds? || !entity.corporation? || entity != current_entity
return [] if !@game.bonds? || !entity.corporation? || entity != current_entity

actions = []
actions << 'payoff_loan' if can_payoff_loan?(entity)
Expand All @@ -30,6 +30,7 @@ def description
end

def log_skip(entity)
print "hi #{can_take_loan?(entity)}"
super if @game.bonds?
end

Expand Down

0 comments on commit 73d9bcc

Please sign in to comment.