summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-07 10:08:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-07 10:08:49 -0300
commit8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59 (patch)
treee0004fdc1016c6ee84e74c744084e048b9bf17d4
parent8e105a540c3bba2d6cbe28948d2455946961a2c4 (diff)
downloadserverdata-8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59.tar.gz
serverdata-8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59.tar.bz2
serverdata-8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59.tar.xz
serverdata-8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59.zip
Wait, I don't need getmap() here, I already saved the map
-rw-r--r--npc/items/shovel.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 8a7a3b58..ac1cd50c 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -10,7 +10,7 @@
function CheckDigLocation {
getmapxy(.@map$, .@x, .@y, 0);
- if (getmap() != "001-1") {
+ if (.@map$ != "001-1") {
if (getunits(BL_NPC, .@units, 1, .@map$, .@x - 1, .@y, .@x + 1, .@y + 1))
{
dispbottom(l("You cannot bury under a NPC!"));