engine: Pass through the program version

We forgot this in a few places.
This commit is contained in:
James Shubin
2022-02-17 13:28:17 -05:00
parent bf7e45439b
commit 0ab2406db9
6 changed files with 12 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ func (obj *GAPI) Init(data *gapi.Data) error {
dataLang := &gapi.Data{
Program: obj.data.Program,
Version: obj.data.Version,
Hostname: obj.data.Hostname,
World: obj.data.World,
Noop: obj.data.Noop,
@@ -189,6 +190,7 @@ func (obj *GAPI) Init(data *gapi.Data) error {
}
dataPuppet := &gapi.Data{
Program: obj.data.Program,
Version: obj.data.Version,
Hostname: obj.data.Hostname,
World: obj.data.World,
Noop: obj.data.Noop,