projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b2f8d
)
fix
author
Maciej Kasatkin
<mk@realbadangel.pl>
Tue, 30 Oct 2012 00:05:52 +0000
(
01:05
+0100)
committer
Maciej Kasatkin
<mk@realbadangel.pl>
Tue, 30 Oct 2012 00:05:52 +0000
(
01:05
+0100)
flashlight.lua
patch
|
blob
|
history
diff --git
a/flashlight.lua
b/flashlight.lua
index 674b5ace5031dc8263ccdd8cf09c9477a2e338b6..c9901d16fc6b1d4414e8e867398cc9c919f176fd 100644
(file)
--- a/
flashlight.lua
+++ b/
flashlight.lua
@@
-144,7
+144,7
@@
minetest.register_node("technic:light_off", {
})
function check_for_flashlight (player)
-if player==nil then return false
+if player==nil then return false
end
local inv = player:get_inventory()
local hotbar=inv:get_list("main")
for i=1,8,1 do