Fix login gamemode

This commit is contained in:
Darto KLoning
2026-09-07 05:53:59 +07:00
parent abc1942ecd
commit 244a8865f0
6 changed files with 44 additions and 22 deletions
-10
View File
@@ -32,17 +32,7 @@ read_property() {
}
suggest_commit_message() {
local status
status="$(git status --porcelain)"
SUGGESTED_COMMIT="Update Lobby Systems v$MOD_VERSION"
if grep -qiE '(^|[[:space:]])src/' <<<"$status"; then
SUGGESTED_COMMIT="Fix join gamemode enforcement in Lobby Systems v$MOD_VERSION"
elif grep -qiE 'compile\.(bat|sh)|release\.(bat|sh)' <<<"$status"; then
SUGGESTED_COMMIT="Improve build and Git workflow"
elif grep -qiE 'README\.md|LICENSE' <<<"$status"; then
SUGGESTED_COMMIT="Update Lobby Systems documentation"
fi
}
push_branch_with_retry() {