Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5828 from KnowOne134/Rap_rod
Browse files Browse the repository at this point in the history
add check for being on mission before adjusting
  • Loading branch information
TeoTwawki committed Apr 7, 2019
2 parents 56047c3 + 2227004 commit 3d29959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zones/Jade_Sepulcher/bcnms/puppet_in_peril.lua
Expand Up @@ -45,7 +45,7 @@ end;
function onEventFinish(player,csid,option)
-- print("bc finish csid "..csid.." and option "..option);

if (csid == 32001) then
if csid == 32001 and player:getCurrentMission(TOAU) == PUPPET_IN_PERIL then
player:completeMission(TOAU,PUPPET_IN_PERIL);
player:setVar("AhtUrganStatus",0);
player:addMission(TOAU,PREVALENCE_OF_PIRATES);
Expand Down

0 comments on commit 3d29959

Please sign in to comment.