From 326370a2207f5cff3bc9cca70ff3f1f260fab84f Mon Sep 17 00:00:00 2001 From: thunderdog1138 Date: Thu, 16 Jul 2020 18:19:14 +0000 Subject: [PATCH] Update 'mods/adv_lightsabers/force_api.lua' --- mods/adv_lightsabers/force_api.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/adv_lightsabers/force_api.lua b/mods/adv_lightsabers/force_api.lua index 9fa0445f..99c00235 100644 --- a/mods/adv_lightsabers/force_api.lua +++ b/mods/adv_lightsabers/force_api.lua @@ -203,9 +203,7 @@ local function force_menu() for _,player in ipairs(minetest.get_connected_players()) do if minetest.check_player_privs(player:get_player_name(), {force_abilities = true}) then local playername = player:get_player_name() - if player:get_player_control().LMB == true - and player:get_player_control().up == true - and player:get_player_control().down == true then + if player:get_player_control() == F then show_force_menu(player:get_player_name()) end if force_ability[playername] == "force_jump" and ability_cooldown[playername] == 0.0 then