Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTT: Fix "CS:S not mounted" warning #2204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

figardo
Copy link
Contributor

@figardo figardo commented Feb 7, 2025

engine.GetGames returns a table of games that can potentially be mounted by GMod, not games that are currently mounted, meaning this check will never return an error.

Using IsMounted both fixes this and makes the check much neater.

Before
cstrikebefore

After
cstrikeafter

@robotboy655 robotboy655 added TTT The pull request is for TTT and will be handled by svdm. Fix The pull request fixes current functionality. labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix The pull request fixes current functionality. TTT The pull request is for TTT and will be handled by svdm.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants