From a0b001b25f001d1df767987528980704d3d40347 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 5 Jul 2016 08:41:13 -0400 Subject: Change Lua encryption key to be the old one. --- source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/WindowsFormsApplication1/Engine/Lua_Interp.cs') diff --git a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs index 21acb3c..88a51a3 100644 --- a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs +++ b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs @@ -399,8 +399,8 @@ end"); mod.get_codepoints = new Func(() => GetCP()); mod.buy_upgrade = new Func((id) => BuyUPG(id)); mod.time = new Func(() => API.GetTime()); - mod.encrypt = new Func((raw) => API.Encryption.Encrypt(raw)); - mod.decrypt = new Func((raw) => API.Encryption.Decrypt(raw)); + mod.encrypt = new Func((raw) => API.Encryption.Encrypt_old(raw)); + mod.decrypt = new Func((raw) => API.Encryption.Decrypt_old(raw)); mod.fread = new Func((filepath) => SafeFileRead(filepath)); mod.terminal = new Action((command) => { -- cgit v1.2.3