summaryrefslogtreecommitdiff
path: root/flashlight.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-30 01:05:52 +0100
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-30 01:05:52 +0100
commit4f2c97dfa2c9f3d1c13524710dfabde74aae040e (patch)
treeb4a23c6dd275cca9368e922a640b95401a0cb1fd /flashlight.lua
parent98b2f8dbbfb2149cf5aded15341b1daf7c62526b (diff)
fix
Diffstat (limited to 'flashlight.lua')
-rw-r--r--flashlight.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashlight.lua b/flashlight.lua
index 674b5ac..c9901d1 100644
--- 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