Fixes an issue with plants.

This commit is contained in:
Zuhayr
2015-07-08 16:08:59 +09:30
parent 97c1822be0
commit 89f93d4aac
+2 -1
View File
@@ -260,7 +260,6 @@
seed.harvest(user,yield_mod)
else
seed.harvest(get_turf(src),yield_mod)
// Reset values.
harvest = 0
lastproduce = age
@@ -292,6 +291,7 @@
mutation_mod = 0
user << "You remove the dead plant."
lastproduce = 0
check_health()
return
@@ -461,6 +461,7 @@
return
user << "You plant the [S.seed.seed_name] [S.seed.seed_noun]."
lastproduce = 0
seed = S.seed //Grab the seed datum.
dead = 0
age = 1