From 81f285344bdc75da4a0db2d2f187be2cf25f3a67 Mon Sep 17 00:00:00 2001 From: Spectre Date: Mon, 4 May 2020 20:42:10 +0200 Subject: [PATCH] fix submodule --- lib/loveframes | 2 +- main.lua | 10 +++++----- thread_led_controller.lua | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/loveframes b/lib/loveframes index 1482592..89a7803 160000 --- a/lib/loveframes +++ b/lib/loveframes @@ -1 +1 @@ -Subproject commit 1482592c442247afff480f885b81a7e570766ff9 +Subproject commit 89a7803a692d16c10b45f37e4831f34971bb63de diff --git a/main.lua b/main.lua index f58e743..aac263d 100644 --- a/main.lua +++ b/main.lua @@ -1,10 +1,10 @@ -print(package.path) -package.path = package.path..";./lib/?.lua;./lib/?/init.lua;./lib/?/?.lua" -print(package.path) --- love.filesystem.setRequirePath("?.lua;?/init.lua;lib/?.lua;./lib/?/init.lua") +-- print(package.path) +-- package.path = package.path..";./lib/?.lua;./lib/?/init.lua;./lib/?/?.lua" +-- print(package.path) +love.filesystem.setRequirePath("?.lua;?/init.lua;lib/?.lua;lib/?/init.lua;lib/?/?.lua") local socket = require("socket") -local loveframes = require("loveframes") +local loveframes = require("lib.loveframes") local LEDsController = require("LEDsController") -- local Yeelight = require("Yeelight") local json = require("json") diff --git a/thread_led_controller.lua b/thread_led_controller.lua index 3ce05be..a30d969 100644 --- a/thread_led_controller.lua +++ b/thread_led_controller.lua @@ -2,7 +2,7 @@ require "love.system" require "love.image" local socket = require("socket") -local LEDsController = require "lib.LEDsController" +local LEDsController = require("LEDsController") local nodes = {} local nodes_map = {}