Update liblights/lights.c