diff options
-rw-r--r-- | npc/081-2/logic.txt | 2 | ||||
-rw-r--r-- | npc/annuals/xmas/2021.txt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/npc/081-2/logic.txt b/npc/081-2/logic.txt index ae755033..a257dc93 100644 --- a/npc/081-2/logic.txt +++ b/npc/081-2/logic.txt @@ -191,7 +191,7 @@ OnPlant: // Should never happen, so nuke everything if (instance_id() < 0) end; // Already planted this spot - if ('XMAS21TREE_X[.@x] && 'XMAS21TREE_Y[.@y]) return; + if ('XMAS21TREE_X[.@x] && 'XMAS21TREE_Y[.@y]) end; // Record the success planting it 'XMAS21TREE_X[.@x] = true; 'XMAS21TREE_Y[.@y] = true; diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index e872da43..5e4b6be3 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -488,7 +488,6 @@ OnX1165: .@y2=.@y+2; .@x=cap_value(rand2(.@x1, .@x2), 107, 126); .@y=cap_value(rand2(.@y1, .@y2), 159, 177); - debugmes "GIFT BOX %d %d", .@x, .@y; makeitem(XmasTicket, 1, .@m$, .@x, .@y); end; |