From 5b31a8222c8e2a3994f496494f0254174950e79e Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 20 Apr 2021 11:47:21 +0200 Subject: [PATCH] Fix crash when using C# script that inherits from C++ script --- Source/Engine/Scripting/Script.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Engine/Scripting/Script.cpp b/Source/Engine/Scripting/Script.cpp index e1d2da73a..55e361926 100644 --- a/Source/Engine/Scripting/Script.cpp +++ b/Source/Engine/Scripting/Script.cpp @@ -178,7 +178,6 @@ void Script::SetupType() { // Enable tick functions based on the method overriden in C# or Visual Script ScriptingTypeHandle typeHandle = GetTypeHandle(); - _tickUpdate = _tickLateUpdate = _tickFixedUpdate = 0; while (typeHandle != Script::TypeInitializer) { auto& type = typeHandle.GetType();