From c61f47ec3399e999a1408351cc8c206a904c5e54 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 16 May 2016 17:02:26 +0100 Subject: [PATCH] NULL scriptJSON when destroying script. --- src/battle/script.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/script.c b/src/battle/script.c index b0722f3..6383a1d 100644 --- a/src/battle/script.c +++ b/src/battle/script.c @@ -322,4 +322,6 @@ void destroyScript(void) } tail = &head; + + scriptJSON = NULL; }