summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-11-30 12:31:57 -0500
committergumi <mekolat@users.noreply.github.com>2016-12-03 11:51:48 -0500
commitc8395166588b7a1118fae5f9b39679e591d07b03 (patch)
treee7e2a2e70188f72d09e643ab051fe1ac0a841a26 /npc/functions
parenta99251263c6e968d9ac30cd002966365558e33f3 (diff)
downloadserverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.gz
serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.bz2
serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.xz
serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.zip
allow `bedClic` to work without arguments, letting `savepointparticle` handle it
Diffstat (limited to 'npc/functions')
-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 8fa1e4b1..6d59a075 100644
--- a/npc/functions/beds.txt
+++ b/npc/functions/beds.txt
@@ -23,7 +23,7 @@ function script bedClic {
if (askyesno() == ASK_YES)
{
- savepointparticle (getarg (0), getarg (1), getarg (2), getarg (3));
+ savepointparticle getarg(0, ""), getarg(1, -1), getarg(2, -1), getarg(3, NO_INN);
}
closedialog;
close;