Skip to content

Remove unused flag images from the admin resource - #737

Open
DateFTP wants to merge 1 commit into
multitheftauto:masterfrom
DateFTP:remove-unused-flag-images
Open

Remove unused flag images from the admin resource#737
DateFTP wants to merge 1 commit into
multitheftauto:masterfrom
DateFTP:remove-unused-flag-images

Conversation

@DateFTP

@DateFTP DateFTP commented Aug 9, 2026

Copy link
Copy Markdown

The country flags under [admin]/admin/client/images/flags/ are no longer needed.

The admin resource has been loading player flags from the separate ip2c resource for a while now (admin_main.lua references :ip2c/client/images/flags/), so these local copies are never used. Since the ip2c resource ships its own flag set, keeping duplicates here just adds ~200 files to the repository for nothing.

This removes the whole flags folder and nothing else. No code or config references these files, and meta.xml does not list them either.

Confirmed nothing else in the resource points at client/images/flags, so this should be a safe cleanup.

@DateFTP

DateFTP commented Aug 9, 2026

Copy link
Copy Markdown
Author

Confirmation in the request to the ip2c folder for obtaining flag images.
Path: [admin]\admin\client\gui\admin_main.lua - 1449
image

@DateFTP

DateFTP commented Aug 18, 2026

Copy link
Copy Markdown
Author

@qaisjp I personally apologize for the tag, it's just that reviewing my pool is very long(

@vectorbasis vectorbasis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM :shipit:

@vectorbasis

Copy link
Copy Markdown
Member

Please resolve conflicts

@DateFTP

DateFTP commented Aug 19, 2026

Copy link
Copy Markdown
Author

What specific conflicts am I supposed remove?

If it’s a stock resource, I suggested removing the flags from the ip2c admin resource; the resource that uses the flags — what else can I do?

@SpeedyFolf

Copy link
Copy Markdown
Contributor

Overwrite the changes in this repo with your changes, I did a PR to reduce the file size of PNG images and that included a few here and git calls that a conflict for some reason

@DateFTP
DateFTP force-pushed the remove-unused-flag-images branch from 615b3a5 to 2608155 Compare August 24, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants