From c8395166588b7a1118fae5f9b39679e591d07b03 Mon Sep 17 00:00:00 2001 From: gumi Date: Wed, 30 Nov 2016 12:31:57 -0500 Subject: allow `bedClic` to work without arguments, letting `savepointparticle` handle it --- npc/functions/beds.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2