fix
authorMaciej Kasatkin <mk@realbadangel.pl>
Tue, 30 Oct 2012 00:05:52 +0000 (01:05 +0100)
committerMaciej Kasatkin <mk@realbadangel.pl>
Tue, 30 Oct 2012 00:05:52 +0000 (01:05 +0100)
flashlight.lua

index 674b5ace5031dc8263ccdd8cf09c9477a2e338b6..c9901d16fc6b1d4414e8e867398cc9c919f176fd 100644 (file)
@@ -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