1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Get thing inhertiance working

This commit is contained in:
Ted John
2020-03-01 13:22:17 +00:00
parent 971c6e201d
commit f8394953aa
4 changed files with 69 additions and 17 deletions

View File

@@ -377,6 +377,7 @@ void ScriptEngine::Initialise()
ScTile::Register(ctx);
ScTileElement::Register(ctx);
ScThing::Register(ctx);
ScPeep::Register(ctx);
dukglue_register_global(ctx, std::make_shared<ScConsole>(_console), "console");
dukglue_register_global(ctx, std::make_shared<ScContext>(_execInfo, _hookEngine), "context");