チケット #43782

Lua: remove_extra() not working

登録: 2022-02-05 05:08 最終更新: 2022-02-08 13:11

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
6
重要度:
5 - 中
解決法:
修正済み
ファイル:
1

詳細

ddeanbrown in #43584:

Tested with RC1, assert errors are gone, but remove_extra() is not working. Also tried connecting to "turn_begin" signal and running on turn 1, instead of connecting to "map_generated" signal, and saw same problem, so maybe remove_extra() got broken.

チケットの履歴 (7 件中 3 件表示)

2022-02-05 05:08 更新者: cazfi
  • 新しいチケット "Lua: remove_extra() not working" が作成されました
2022-02-05 05:45 更新者: cazfi
  • コンポーネント(未割り当て) から General に更新されました
コメント

so maybe remove_extra() got broken.

I think it has been broken on S3_0 (for resources) either always or for a long time (might have gotten broken when their reappearance in case of terrain changing back to one supporting them was fixed) - and in earlier branches resources were not even considered extras.

Fix *seems* simple, but kind of risky in that it might break something else, and more critical - this might be something that we don't want to push in before 3.0.0 even with RC2 route, but want to expose to testing for entire 3.0.1 cycle. While it's annoying that it breaks that ruleset mentioned in the forums, it's not a regression either (it was not possible to remove resources in 2.6)

I'll submit the fix soon anyway, so we do have it available whatever we decide.

2022-02-05 05:54 更新者: cazfi
コメント

Reply To cazfi

I'll submit the fix soon anyway

Attached.

2022-02-05 14:44 更新者: cazfi
  • 優先度5 - 中 から 6 に更新されました
コメント

Reply To cazfi

it's not a regression either (it was not possible to remove resources in 2.6)

Well, it's not a regression that lua remove_extra() did not remove resources in 2.6, but the bug was on a lower level code -> it might break also other kind of resource removals.
2022-02-06 06:06 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.0.0 (完了済み) に更新されました
コメント

Targeted to 3.0.0-RC2

2022-02-08 13:11 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする