0ad/source/simulation2
Ralph Sennhauser 4136b2f6f7
Clone InitAttributes for serialization test
Commit 8b11f6a151 requires InitAttributes to be available, which isn't
the case for the secondary context in serialization test. So clone
InitAttributes to make it available.

```
ERROR: JavaScript error: simulation/helpers/Commands.js line 89
InitAttributes is not defined
  reveal-map@simulation/helpers/Commands.js:89:7
  ProcessCommand@simulation/helpers/Commands.js:932:23
ERROR: Failed to call ProcessCommand() global script function
```

Reported-by: phosit <phosit@autistici.org>
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-09-06 13:13:25 +02:00
..
components Make TaskManager independent of Future 2025-08-28 20:01:39 +02:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Fix some includes all over the place 2025-08-14 20:15:30 +02:00
scripting Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
serialization Update SpiderMonkey to ESR 128.13 2025-08-15 19:43:34 +02:00
system Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
tests Fix some includes all over the place 2025-08-14 20:15:30 +02:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Clone InitAttributes for serialization test 2025-09-06 13:13:25 +02:00
Simulation2.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00