summaryrefslogtreecommitdiff
path: root/npc/functions/beds.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-19 21:09:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-19 21:09:38 +0300
commite1ca11a950b7553cbafff6902a26c6a4023f9df9 (patch)
tree1c78eeb01157f7df66b42130716b1a1928f93911 /npc/functions/beds.txt
parent1c644eea65083558fc029345a8b4d2b81d0625e1 (diff)
downloadserverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.gz
serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.bz2
serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.xz
serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.zip
Replace select with yes/no to askyesno function.
Diffstat (limited to 'npc/functions/beds.txt')
-rw-r--r--npc/functions/beds.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/beds.txt b/npc/functions/beds.txt
index 299ceda8..8fa1e4b1 100644
--- a/npc/functions/beds.txt
+++ b/npc/functions/beds.txt
@@ -21,7 +21,7 @@ function script bedTouch {
function script bedClic {
narrator 4, l("Do you want to use this place as save point?");
- if (select (menuaction(l("Yes")), menuaction(l("No"))) == 1)
+ if (askyesno() == ASK_YES)
{
savepointparticle (getarg (0), getarg (1), getarg (2), getarg (3));
}