Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "Farming/SFarmingSystem"
- local old_SFarmingSystem_growPlant = SFarmingSystem.growPlant;
- function SFarmingSystem:growPlant(luaObject, ...)
- if luaObject.state == "seeded" and luaObject.nbOfGrow > 6 then
- luaObject.nbOfGrow = 6;
- end
- return old_SFarmingSystem_growPlant(self, luaObject, ...);
- end
Advertisement
Add Comment
Please, Sign In to add comment