diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-22 01:19:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-22 01:19:37 -0300 |
commit | 5c627fd6cb53cad66a39d77c5a394ad27a3d22c5 (patch) | |
tree | b9bc027f51b6e4fe09f193528607bc585634bc61 /npc | |
parent | 7844466de562c4f346d777da5e34d0dc11642521 (diff) | |
download | serverdata-5c627fd6cb53cad66a39d77c5a394ad27a3d22c5.tar.gz serverdata-5c627fd6cb53cad66a39d77c5a394ad27a3d22c5.tar.bz2 serverdata-5c627fd6cb53cad66a39d77c5a394ad27a3d22c5.tar.xz serverdata-5c627fd6cb53cad66a39d77c5a394ad27a3d22c5.zip |
What's this? Looks like a bug. Add "missing" ontouch code
Diffstat (limited to 'npc')
-rw-r--r-- | npc/002-5/main.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/002-5/main.txt b/npc/002-5/main.txt index 22269552e..99980daaf 100644 --- a/npc/002-5/main.txt +++ b/npc/002-5/main.txt @@ -35,6 +35,13 @@ L_Error: warp "000-1", 22, 22; Exception("PLAYER INVALID PC_DEST ON #NardShip: " + PC_DEST$, RB_DEFAULT | RB_ISFATAL); end; + +OnTouch: + if (PC_DEST$ != "" && @timer_navio_running == 0) { + addtimer nard_time(PC_DEST$), "#NardShip::OnEvent"; + @timer_navio_running = 1; + } + end; } // Do not add .distance here. |