diff --git a/games/recoil-rts/Makefile b/games/recoil-rts/Makefile index 1a7658a84e56..c92982869f01 100644 --- a/games/recoil-rts/Makefile +++ b/games/recoil-rts/Makefile @@ -10,6 +10,7 @@ COMMENT = real-time strategy game engine for Beyond All Reason V = 2025.01.6 PKGNAME = recoil-rts-${V} +REVISION = 0 DIST_TUPLE += github beyond-all-reason spring ${V} . DIST_TUPLE += github mikke89 RmlUi \ diff --git a/games/recoil-rts/files/beyond-all-reason b/games/recoil-rts/files/beyond-all-reason index 8980c404982d..678a6448210f 100644 --- a/games/recoil-rts/files/beyond-all-reason +++ b/games/recoil-rts/files/beyond-all-reason @@ -17,14 +17,19 @@ if [ $(ulimit -Sd) -lt ${DATASIZE} ]; then [ $? -eq 0 ] || exit fi +# fix setup, go online again +if [[ -f ${CONFIG_FILE} ]] && + ! grep -q server4.beyondallreason.info ${CONFIG_FILE}; then + rm ${CONFIG_FILE} + sed -i '/serverAddress/d' ${GAME_DIR}/LuaMenu/Config/IGL_data.lua +fi + # setup -# XXX: empty server address to disallow multiplayer while desyncs -# once solved, set address to "server4.beyondallreason.info" [[ -d ${GAME_DIR} ]] || mkdir -p ${GAME_DIR} [[ -f ${CONFIG_FILE} ]] || cat > ${CONFIG_FILE} < ${SETTINGS_FILE} <