Skip to content

Commit

Permalink
Merge pull request #10102 from roseundy/73_xmine_purchase
Browse files Browse the repository at this point in the history
Harzbahn 1873: fix cross-player mine purchase UI bug
  • Loading branch information
michaeljb authored Jan 7, 2024
2 parents be4c400 + a9322e4 commit 5bc8f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/app/view/game/buy_value_input.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def render
price = input.JS['elm'].JS['value'].to_i
buy = lambda do
if @selected_entity.corporation? || @selected_entity.minor?
to_merge = if @selected_corporation.corporation?
to_merge = if @selected_entity.corporation?
{ corporation: @selected_entity }
else
{ minor: @selected_entity }
Expand Down

0 comments on commit 5bc8f60

Please sign in to comment.