Files
0ad/source/gui
Vantha 6515c3fb1f Show an error when Engine.GetGUIObjectByName fails
It previously failed silently and just returned undefined which would often
only cause errors later on. Printing an error as soon as that happens helps
with debugging, by directly catching typos, for example.

For cases where the queried object may not exist, a new Engine function
called TryGetGUIObjectByName is introduced. It doesn't log any errors
and behaves exactly as GetGUIObjectByName used to.
2025-08-14 10:22:56 +02:00
..
2025-08-11 18:38:01 +02:00
2025-08-11 18:38:01 +02:00
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-29 18:19:49 +02:00
2025-07-02 13:20:13 +02:00
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00