Skip to content

Commit

Permalink
Renamed the variable initialRepairDroidGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Monsterovich authored and past-due committed May 3, 2024
1 parent 333b472 commit 61e469e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmddroid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ bool cmdDroidAddDroid(DROID *psCommander, DROID *psDroid)
ASSERT_OR_RETURN(false, psDroid != nullptr, "psDroid is null?");

auto initialDroidGroup = psDroid->group;
auto initialRepairDroidGroup = psDroid->repairGroup;
auto initialDroidRepairGroup = psDroid->repairGroup;

if (psCommander->psGroup == nullptr)
{
Expand Down Expand Up @@ -130,7 +130,7 @@ bool cmdDroidAddDroid(DROID *psCommander, DROID *psDroid)
psDroid->group = initialDroidGroup;
SelectGroupDroid(psDroid);
}
psDroid->repairGroup = initialRepairDroidGroup;
psDroid->repairGroup = initialDroidRepairGroup;
}

if (initialDroidGroup != psDroid->group)
Expand Down

0 comments on commit 61e469e

Please sign in to comment.