1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Remove text litterals as events buffers may contain code blocks (choices events) and we don't want this to end up in the save file

This commit is contained in:
Étienne Fildadut 2021-12-06 16:15:35 +01:00
parent 9bd9759115
commit bc5e68ffcb
6 changed files with 11 additions and 54 deletions

View file

@ -65,7 +65,7 @@ local function eval(state, exp)
type = "list",
value = l
}
-- event buffer with from a text line
-- event buffer (internal type, only issued from a text or choice line)
elseif exp.type == "text" then
local l = {}
events:push_buffer(state, l)