From 16f5233efc80baaec9e1a6bb4d0b9f3f244b1353 Mon Sep 17 00:00:00 2001 From: Markolie Date: Mon, 19 Jan 2015 20:25:22 +0100 Subject: [PATCH] Fix Ninja Kamikazi mode exploit --- code/game/gamemodes/events/ninja_equipment.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/events/ninja_equipment.dm b/code/game/gamemodes/events/ninja_equipment.dm index d3dc3ff0936..894121ac5ec 100644 --- a/code/game/gamemodes/events/ninja_equipment.dm +++ b/code/game/gamemodes/events/ninja_equipment.dm @@ -625,7 +625,7 @@ ________________________________________________________________________________ A << "There are no potential [href_list["name"]=="Phase Shift"?"destinations" : "targets"] in view." if("Unlock Kamikaze") - if(input(U)=="Divine Wind") + if(input(U)=="Divine Wind" && (k_unlock==7||!s_control)) if(U.loc.loc.name != "\improper SpiderClan Outpost") if( !(U.stat||U.wear_suit!=src||!s_initialized)) if( !(cell.charge<=1||s_busy) )