aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/src/lua')
-rw-r--r--Lua/src/lua/UHookableEvent.pas2
-rw-r--r--Lua/src/lua/ULuaCore.pas4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lua/src/lua/UHookableEvent.pas b/Lua/src/lua/UHookableEvent.pas
index de5a8a83..b7f2fc47 100644
--- a/Lua/src/lua/UHookableEvent.pas
+++ b/Lua/src/lua/UHookableEvent.pas
@@ -74,7 +74,7 @@ type
function CallHookChain(Breakable: Boolean): PLua_State; //< calls the events hookchain. if breakable, plugin can breake the chain by returning a value != 0 or false or nil
- destructor Destroy;
+ destructor Destroy; override;
end;
{ the default function for THookableEvent.PrepareStack it don't pass any arguments }
diff --git a/Lua/src/lua/ULuaCore.pas b/Lua/src/lua/ULuaCore.pas
index 6ea5ecc6..5ecc07af 100644
--- a/Lua/src/lua/ULuaCore.pas
+++ b/Lua/src/lua/ULuaCore.pas
@@ -108,7 +108,7 @@ type
procedure Unload; //< Destroys the Luastate, and frees as much mem as possible, w/o destroying the class and important information
- destructor Destroy;
+ destructor Destroy; override;
end;
{ class managing the plugins w/ their LuaStates, the events and modules
@@ -128,7 +128,7 @@ type
function GetModuleIdByName(Name: String): Integer; //returns id of given module, or -1 if module is not found
public
constructor Create;
- destructor Destroy;
+ destructor Destroy; override;
procedure LoadPlugins; //< calls LoadPlugin w/ Plugindir and LoadingFinished Eventchain