Oh, I think I see. I'll start with a change like this: https://gitea.wildfiregames.com/0ad/0ad/commit/2d43ca6462940e9c3aad82309e41febb53892654?files=binaries%2fdata%2fmods%2fpublic%2fmaps%2frandom%2ffrontier.js
@phositWhen I uncomment the line `Engine.LoadLibrary("rmgen2");` I get the error:
ERROR: JavaScript error: maps/random/rmgen2/gaia.js line 1
import declarations may only appear at top level of a module
@maps/random/cliffs_of_carnage.js:7:8
ERROR: CMapGenerationCallbacks::LoadScripts: Failed to load script 'maps/random/rmgen2/gaia.js'
ERROR: An unhandled promise got rejected:
ReferenceError: e_p is not defined
@maps/random/cliffs_of_carnage.js:386:1
@Stan`What's the link to the porting guide?
I think my issue is that I have yet to understand how to fully use the
git push
command to only commit the one branch I am currently working on.
Like, I want to commit a branch that's called "bugfix-0-28-rome-fertility"
I have added the GUI fix for Germans Maceman and the fix for Roman Fertility here:
https://gitea.wildfiregames.com/DesertRose/0ad-DR_fork
I want to create a Pull Request of only the Roman Fertility fix for Issue #8735 but I can't remove the Maceman fix.
How do I only include the two files needed for the Roman Fertility fix in the Pull Request?