mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 22:33:56 -07:00
Applies tech modifications to template data returned by GuiInterface. Extends engine to load arbitrary global scripts, separates this from RNG replacement. Refs #1193. Loads global scripts for most script contexts for consistency. Adds simulation tests for global scripts. This was SVN commit r12056.
4 lines
56 B
JavaScript
4 lines
56 B
JavaScript
function GlobalSubtractionHelper(a, b)
|
|
{
|
|
return a-b;
|
|
}
|