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

@@ -40,6 +40,7 @@ type State struct {
Vertex pgraph.Vertex
Program string
Version string
Hostname string
World engine.World
@@ -154,6 +155,7 @@ func (obj *State) Init() error {
obj.init = &engine.Init{
Program: obj.Program,
Version: obj.Version,
Hostname: obj.Hostname,
// Watch: