-
Notifications
You must be signed in to change notification settings - Fork 737
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
Fix CfgPatches author/ is not a value #3850
Conversation
You can also add |
Good job. Though, the order of those entries is triggering me :) Might be better:
But it'd be just a cosmetic change. And if no one is objecting, we could change authorUrl to http://ace3mod.com aswell. |
author[] = {$STR_ACE_Common_ACETeam, "Glowbal"}; | ||
author = ECSTRING(common,ACETeam); | ||
url = "http://ace3mod.com"; | ||
authors[] = {$STR_ACE_Common_ACETeam, "Glowbal"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove it here or it will be shown twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that one, nice spot.
@bux578 I'd say we get rid of authorUrl and just keep url, @commy2 just pushed a change so url only will be shown if there are both (right?). |
For bwc, CBA will fall back to I'd say replace all URLs with |
I totally forgot about that macro! |
e0f0d9b
to
617f3f5
Compare
Done, also fuck line endings breaking my regex. |
617f3f5
to
6730d01
Compare
How about making the URL into a stringtable entry or a macro? |
|
I'd say first. So we could use it somewhere else. |
I'd go for both.
|
good idea |
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD | ||
|
||
#define WEB_URL "http://ace3mod.com/" | ||
#define PBO_URL url = WEB_URL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the standard is to not have the ";" in the macro. Sorry for being picky.
Thanks! |
When merged this pull request will:
author[]
toauthors[]
in all CfgPatches - CBA is changing that for compatibility with vanillaauthor
"ACE-Team"
(strinbtabled) fromauthors[]
in all CfgPatches - CBA will pull bothauthor
andauthors[]
togetherauthor
with value"ACE-Team"
(stringtabled) to all CfgPatchesurl
with value `"http://ace3mod.com"`` to all CfgPatchesblank
component as wellRegex used
Converting
author[]
toauthors[]
:Find:
Replace:
Adding
author
andurl
:Find:
Replace: