hedgewars/uLandObjects.pas
changeset 15045 af2f6f4074de
parent 15002 1a2dcea1732a
child 15048 88e3d1ff67bb
--- a/hedgewars/uLandObjects.pas	Tue May 21 16:45:16 2019 +0200
+++ b/hedgewars/uLandObjects.pas	Tue May 21 23:04:50 2019 +0300
@@ -1062,6 +1062,8 @@
         cSnow:= true
     else if key = 'rope-step' then
         cRopeNodeStep:= StrToInt(s)
+    else if key = 'rope-layers' then
+        cRopeLayers:= max(1, min(MAXROPELAYERS, StrToInt(s)))
     else if key = 'sd-water-top' then
         begin
         i:= Pos(',', s);