diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-07 10:08:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-07 10:08:49 -0300 |
commit | 8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59 (patch) | |
tree | e0004fdc1016c6ee84e74c744084e048b9bf17d4 | |
parent | 8e105a540c3bba2d6cbe28948d2455946961a2c4 (diff) | |
download | serverdata-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.txt | 2 |
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!")); |