Skip to content

Commit

Permalink
Move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CI09 committed Mar 21, 2024
1 parent 657b5de commit 2f2b2c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/general/base_stage/CreatureStageHUDBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ public void ShowReproductionDialog()

GUICommon.Instance.PlayCustomSound(MicrobePickupOrganelleSound);

// TODO: switch these to be fetched just once in _Ready
editorButton.ShowReproductionDialog();

HUDMessages.ShowMessage(Localization.Translate("NOTICE_READY_TO_EDIT"), DisplayDuration.Long);
Expand Down
1 change: 1 addition & 0 deletions src/microbe_stage/gui/EditorEntryButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void UpdateReproductionProgressBars(float fractionOfAmmonia, float fracti

public void ShowReproductionDialog()
{
// TODO: switch these to be fetched just once in _Ready
highlight.Show();
phosphateReproductionBar.TintProgress = new Color(1, 1, 1, 1);
ammoniaReproductionBar.TintProgress = new Color(1, 1, 1, 1);
Expand Down

1 comment on commit 2f2b2c4

@hhyyrylainen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment doesn't match the code. It talks about fetching nodes with a NodePath, but I cannot see any of that in the new ShowReproducitonDialog method...

Please sign in to comment.