From 982ece97c61ae4d7ac92f2af909259e771ef2f31 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 13 Dec 2017 20:02:56 +0100 Subject: [PATCH] fix... --- client/cmdscript.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/cmdscript.c b/client/cmdscript.c index c5e964255..cb8347be8 100644 --- a/client/cmdscript.c +++ b/client/cmdscript.c @@ -70,7 +70,6 @@ bool endsWith (char* base, char* str) { int CmdScriptList(const char *Cmd) { char const * exedir = get_my_executable_directory(); - strcpy(script_directory_path, get_my_executable_directory()); if (exedir == NULL) return 0; char script_directory_path[strlen(exedir) + strlen(LUA_SCRIPTS_DIRECTORY) + 1];