correctly log found room name

This commit is contained in:
Franzi 2023-12-26 13:11:58 +01:00
parent b7e6ea2635
commit 025e1bf2c7

View file

@ -63,7 +63,7 @@ function M.updated_config_json(config)
for idx, room in ipairs(config.rooms) do for idx, room in ipairs(config.rooms) do
log(tostring(room.serial) .. " room '" .. room.name .. "'") log(tostring(room.serial) .. " room '" .. room.name .. "'")
if room.serial == sys.get_env "SERIAL" then if room.serial == sys.get_env "SERIAL" then
log("found my room: ", room.name) log("found my room: " .. room.name)
current_room = room.name current_room = room.name
text_a = room.text_a text_a = room.text_a
text_b = room.text_b text_b = room.text_b