From 96a5dad85217338fe77079a03172a11074b139d2 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 3 Feb 2012 14:13:35 +1000 Subject: Only slightly less half arsed state. lol --- LuaSL/src/LuaSL_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index ea68a2a..5fab5c4 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -2151,9 +2151,9 @@ static void outputStateToken(FILE *file, outputMode mode, LSL_Leaf *content) { fprintf(file, "\n\n--[[state]] "); outputText(file, &(state->name), !(LSL_NOIGNORE & content->toKen->flags)); - fprintf(file, " = nil;"); + fprintf(file, " = {};"); + outputRawBlock(file, mode, state->block, FALSE); } - outputRawBlock(file, mode, state->block, TRUE); } } } -- cgit v1.1