mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
Fix crash with moretrees
This commit is contained in:
parent
9ea6923dc1
commit
8a63cb3792
@ -220,6 +220,9 @@ moretrees.ct_rules_a2 = "FF[FF][&&-FBF][&&+FBF][&&---FBF][&&+++FBF]F/A"
|
|||||||
moretrees.ct_rules_b2 = "[-fB][+fB]"
|
moretrees.ct_rules_b2 = "[-fB][+fB]"
|
||||||
|
|
||||||
function moretrees.grow_jungletree(pos)
|
function moretrees.grow_jungletree(pos)
|
||||||
|
if not pos or not pos.x or not pos.y or not pos.z then
|
||||||
|
return
|
||||||
|
end --//MFF(Mg|08/18/15)
|
||||||
local r1 = math.random(2)
|
local r1 = math.random(2)
|
||||||
local r2 = math.random(3)
|
local r2 = math.random(3)
|
||||||
if r1 == 1 then
|
if r1 == 1 then
|
||||||
|
Loading…
Reference in New Issue
Block a user