From 6eeae2ee499b4aec7b9f771c75ff09264d79c8fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Dec 2014 12:47:25 +0300 Subject: Replace script function set to direct variable assignments. --- npc/functions/goodbye.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/goodbye.txt') diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt index ea060099..c23aeeac 100644 --- a/npc/functions/goodbye.txt +++ b/npc/functions/goodbye.txt @@ -9,7 +9,7 @@ function script goodbye { closedialog; - set .@rand, rand(13); + .@rand = rand(13); if (.@rand == 0) npctalk3 l("See you!"); if (.@rand == 1) npctalk3 l("See you later!"); if (.@rand == 2) npctalk3 l("See you soon!"); -- cgit v1.2.3-60-g2f50