diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-11-30 12:31:57 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-03 11:51:48 -0500 |
commit | c8395166588b7a1118fae5f9b39679e591d07b03 (patch) | |
tree | e7e2a2e70188f72d09e643ab051fe1ac0a841a26 | |
parent | a99251263c6e968d9ac30cd002966365558e33f3 (diff) | |
download | serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.gz serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.bz2 serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.tar.xz serverdata-c8395166588b7a1118fae5f9b39679e591d07b03.zip |
allow `bedClic` to work without arguments, letting `savepointparticle` handle it
-rw-r--r-- | npc/functions/beds.txt | 2 |
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; |