mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Append allocation and generics fixes
This commit is contained in:
@@ -14,7 +14,7 @@ using internal GlitchyEngine.Scripting;
|
||||
|
||||
class EngineClasses
|
||||
{
|
||||
// TODO: Not all of there are actually ScriptClasses (actually none of them are...)
|
||||
// TODO: Not all of these are actually ScriptClasses (actually none of them are...)
|
||||
|
||||
private ScriptClass s_ComponentRoot ~ _?.ReleaseRef();
|
||||
private ScriptClass s_EntityRoot ~ _?.ReleaseRef();
|
||||
@@ -90,7 +90,7 @@ static class ScriptEngine
|
||||
|
||||
private static Scene s_Context ~ _?.ReleaseRef();
|
||||
|
||||
private static append EngineClasses _classes = .();
|
||||
private static EngineClasses _classes = new .() ~ delete _;
|
||||
|
||||
public static EngineClasses Classes => _classes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user