Merge pull request #10047 from Zuhayr/xenohydrofix

Fixes an issue with plants.
This commit is contained in:
GinjaNinja32
2015-07-08 07:45:01 +01:00
+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