Skip to content

Fix dynamic tech branches rotating the vanilla tech tree#85

Merged
IExploitableMan merged 6 commits into
dev1.2from
techbranch
May 20, 2025
Merged

Fix dynamic tech branches rotating the vanilla tech tree#85
IExploitableMan merged 6 commits into
dev1.2from
techbranch

Conversation

@HighFlyer-222
Copy link
Copy Markdown
Contributor

idk how but i did a little refactoring and the tech tree is back to its normal angle

@HighFlyer-222 HighFlyer-222 changed the base branch from main to dev1.2 May 5, 2025 18:15
Copy link
Copy Markdown
Contributor

@IExploitableMan IExploitableMan left a comment

Choose a reason for hiding this comment

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

Overall it looks good

Comment thread src/Managers/Main.cs Outdated
float childAngle = 0f;
if (parentItem != null)
childAngle = angle + baseAngle * (data.techUnlocks.Count - 1) / 2f;
foreach (TechData techData in data.techUnlocks)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Better use var in foreach

@IExploitableMan IExploitableMan merged commit c41e216 into dev1.2 May 20, 2025
0 of 2 checks passed
@IExploitableMan IExploitableMan deleted the techbranch branch May 20, 2025 12:46
@IExploitableMan IExploitableMan added the enhancement New feature or request label Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants