Skip to content

Fix function used to detect a Rebel source root folder#113

Merged
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:fix-methods.py
Jan 22, 2025
Merged

Fix function used to detect a Rebel source root folder#113
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:fix-methods.py

Conversation

@madmiraal
Copy link
Copy Markdown
Contributor

#14 applied Rebel branding where possible. However, this broke the function used to detect a Rebel source root folder, which assumes that a file called version.py has a specific line.

This PR updates methods.py's is_engine(path) function to use the updated line.

@madmiraal madmiraal added the PR Type: Bug Fix Your current game should now work as expected. label Jan 19, 2025
@DanielaOrtner DanielaOrtner self-requested a review January 22, 2025 12:00
Copy link
Copy Markdown
Contributor

@DanielaOrtner DanielaOrtner left a comment

Choose a reason for hiding this comment

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

Thank you for this fix :)

@DanielaOrtner DanielaOrtner merged commit 17e2e23 into RebelToolbox:main Jan 22, 2025
@madmiraal madmiraal deleted the fix-methods.py branch January 22, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR Type: Bug Fix Your current game should now work as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants