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];