Guest User

Untitled

a guest
Dec 26th, 2018
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. require "Farming/SFarmingSystem"
  2.  
  3. local old_SFarmingSystem_growPlant = SFarmingSystem.growPlant;
  4.  
  5. function SFarmingSystem:growPlant(luaObject, ...)
  6.     if luaObject.state == "seeded" and luaObject.nbOfGrow > 6 then
  7.         luaObject.nbOfGrow = 6;
  8.     end
  9.     return old_SFarmingSystem_growPlant(self, luaObject, ...);
  10. end
Advertisement
Add Comment
Please, Sign In to add comment