Complete WC version removal

This commit is contained in:
Gunter Labes 2023-07-18 21:32:58 +02:00 committed by GitHub
parent dcbecefe9e
commit 41ead12a14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 23 deletions

View file

@ -659,27 +659,6 @@
[/label]
[/column]
[/row]
[row]
[column]
horizontal_alignment = "left"
border = "all"
border_size = 5
[label]
definition = "gold_small"
label = _ "World Conquest version"
[/label]
[/column]
[column]
horizontal_alignment = "center"
border = "all"
border_size = 5
[label]
definition = "gold_small"
label = ""
id="label_version"
[/label]
[/column]
[/row]
[/grid]
[/column]
[/row]

View file

@ -208,7 +208,6 @@ function wesnoth.wml_actions.wc2_show_wocopedia(cfg)
page.checkbox_show_pickup_confirmation.selected = not wc2_utils.global_vars.skip_pickup_dialog
page.checkbox_show_pickup_confirmation.enabled = true
page.label_version.marked_up_text = wml.variables["wc2_host_version"] or "unknown"
page.label_difficulty.marked_up_text = wml.variables["wc2_difficulty.name"] or "unknown"
function page.checkbox_show_pickup_confirmation.on_modified()

View file

@ -74,7 +74,6 @@ function wc_ii_generate_scenario(nplayers, gen_args)
variables = {
wc2_scenario = scenario_num,
wc2_player_count = nplayers,
wc2_host_version = "0.8.4"
},
side = {},
id = gen_args.id,