summaryrefslogtreecommitdiff
path: root/npc/airports
diff options
context:
space:
mode:
Diffstat (limited to 'npc/airports')
-rw-r--r--npc/airports/airships.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index 44b7ac115..856a4fc3f 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -870,7 +870,7 @@ s_Play:
next;
if(.@comparisonvar$[1] != .@typingstring1$ || .@comparisonvar$[2] != .@typingstring2$) goto s_Fail;
set .@time, (gettimetick(0) - .@start) / 100; //seconds taken
- set .@mypoints, (.@typingkeys * 100) / .@time;
+ if (.@time) set .@mypoints, (.@typingkeys * 100) / .@time;
mes "[Nils]";
mes "Your typing time";
mes "was ^FF0000" + .@time + " seconds^000000";