diff -r e98e2fc556a7 -r cc312e22592b hedgewars/uScript.pas --- a/hedgewars/uScript.pas Wed Oct 24 00:08:23 2018 +0200 +++ b/hedgewars/uScript.pas Wed Oct 24 11:05:44 2018 -0400 @@ -3572,7 +3572,7 @@ for i:= 0 to sz^-1 do begin if (lastChar = '-') and (mybuf[i] = '-') then - inComment := true + inComment := false // FIXME - set to false because lua considers --[====[ ]=====] Non-comment stuff to be sensible // gonna add any non-magic whitespace and skip - just to make comment avoidance easier else if not inComment and (byte(mybuf[i]) > $20) and (byte(mybuf[i]) < $7F) and (mybuf[i]<>'-') then begin