From 015f6ff2e1945010658fe1c338315b7a72e8d867 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 Jun 2019 18:23:20 -0300 Subject: Fix bugs, Treasure Map should also work now but untested and risky. --- npc/002-1/dan.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/002-1/dan.txt') diff --git a/npc/002-1/dan.txt b/npc/002-1/dan.txt index 04a04a814..192602c39 100644 --- a/npc/002-1/dan.txt +++ b/npc/002-1/dan.txt @@ -91,7 +91,7 @@ OnInit: // TODO this code below is bad and should be entirely rewritten 002-1,0,0,0 script PiouSpwn NPC_HIDDEN,{ function DanCheck { - if (player_attached()) { + if (playerattached()) { // Quest not in progress - nothing to do if (getq(ShipQuests_Dan) != 1) return; -- cgit v1.2.3-60-g2f50