But alert_message do not change:
Code: Select all
function on_gui_closed(event)
if event.entity.name == "programmable-speaker" then
event.entity.alert_parameters.alert_message = "+"
log(serpent.block(event.entity.alert_parameters))
end
end
script.on_event(defines.events.on_gui_closed, on_gui_closed)
What I doing wrong?