Rounds introScript and outScripts were not failing with an error.
There were two related issues:
The error was due to the attempted insertion of name from a nonexistent blueprint object during program execution. Rounds scripts were run by the GLOBAL_AGENT, who does not have a blueprint.
Round scripts should be run by the REFEREE agent, not the GLOBAL_AGENT. Rewrote rounds to use REFEREE.
To Test
Round intro and out scripts should run without errors, provided they're valid.
It's worth noting that the REFEREE agent will automatically add the "Population" feature as well as a roundTime property (see StageInit() call).
Merges dev-bl/restore-rounds -> dev-next
Rounds introScript and outScripts were not failing with an error.
There were two related issues:
The error was due to the attempted insertion of
name
from a nonexistentblueprint
object during program execution. Rounds scripts were run by the GLOBAL_AGENT, who does not have a blueprint.Round scripts should be run by the REFEREE agent, not the GLOBAL_AGENT. Rewrote rounds to use REFEREE.
To Test
Round intro and out scripts should run without errors, provided they're valid.
It's worth noting that the REFEREE agent will automatically add the "Population" feature as well as a
roundTime
property (seeStageInit()
call).