From a2e25188684b1c24074ffbf275c7c5eb51bfc27f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 1 Jul 2018 00:51:28 -0300 Subject: [skip ci] minor --- npc/items/shovel.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc/items/shovel.txt') diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index be9daab1b..4b60d2773 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -20,7 +20,8 @@ function script shovel_scriptItem { $@WBT_Random_map$[.@wtc] = .@map$; $@WBT_Random_x[.@wtc] = .@x; $@WBT_Random_y[.@wtc] = .@y; - debugmes "Buried"+.@amount+" "+getitemname(.@id); + //debugmes "Buried"+.@amount+" "+getitemname(.@id); + return; } // shovel_scatter( map, x1, y1, x2, y2, items_array, {amount} ) @@ -35,6 +36,7 @@ function script shovel_scatter { for (.@i = 0; .@i < .@amount; .@i++) shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), any_of(.@id)); + return; } -- cgit v1.2.3-60-g2f50