diff options
Diffstat (limited to 'npc/instances/SealedShrine.txt')
-rw-r--r-- | npc/instances/SealedShrine.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index 5bbe81d27..a9bc499c5 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -120,13 +120,12 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{ mes "Umm... But it seems that there is a problem here... I'll check quickly. Please wait."; } else { - for (.@i = 1; .@i <= 2; ++.@i) { - if( instance_attachmap(.@i + "@cata", .@instance) == "" ) - break; - } - if( .@i < 2 ) { - instance_destroy(.@instance); - close; + for (.@i = 1; .@i <= 2; .@i++) { + if( instance_attachmap(.@i + "@cata", .@instance) == "" ) { + mes "Failed to attach "+.@i+"@cata as a map!"; + instance_destroy(.@instance); + close; + } } instance_set_timeout 7200,300,.@instance; |