ProditorMagnus / Ageless-for-1-14

Continues https://github.com/ProditorMagnus/Ageless-for-1-11
8 stars 2 forks source link

Support observing with newer version #7

Closed ProditorMagnus closed 1 year ago

ProditorMagnus commented 6 years ago

Functional requirements:

ProditorMagnus commented 6 years ago

Workaround

diff --git a/src/game_initialization/lobby_data.cpp b/src/game_initialization/lobby_data.cpp
index 9bf2866..0d249ea 100644
--- a/src/game_initialization/lobby_data.cpp
+++ b/src/game_initialization/lobby_data.cpp
@@ -510,7 +510,8 @@ game_info::ADDON_REQ game_info::check_addon_version_compatibility(const config&
                        });

                        required_addons.push_back(r);
-                       return r.outcome;
+                       return SATISFIED;
+                       // return r.outcome;
                }

                // Check if our version is too out of date to play.

Functional requirements state with this change:

ProditorMagnus commented 4 years ago

https://github.com/wesnoth/wesnoth/issues/4358#issuecomment-535214375

ProditorMagnus commented 4 years ago

Requires testing how it behaves it normal clients.

ProditorMagnus commented 1 year ago

Nothing that can be done within addon code.