player ca
Player.static.sounds = {
switchFail = love.audio.newSource(sounds/switch_fail.wav),
switchSuccess = love.audio.newSource(sounds/switch_success.wav)
}
This commit is contained in:
parent
85dd66b1e4
commit
ffa35aec89
6 changed files with 46 additions and 22 deletions
1
door.lua
1
door.lua
|
|
@ -42,7 +42,6 @@ end
|
|||
function Door:setColors(colors)
|
||||
local offColors = {}
|
||||
for color, off in pairs(colors) do
|
||||
print(color, active)
|
||||
if off then
|
||||
if self.colors[color] then self.colors[color] = false end
|
||||
table.insert(offColors, color)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue