Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5524


Ignore:
Timestamp:
May 19, 2009, 8:55:13 PM (15 years ago)
Author:
scheusso
Message:

fix to ensure lua5.0 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/CuboidSpaceStation.lua

    r5417 r5524  
    495495                -- This must be done, because there are different sides from where I try to attach a part.
    496496                coord1=1*yAxis+2*zAxis
    497                 coord2=(coord1+1)%3
    498                 coord3=(coord2+1)%3
     497                coord2=math.mod(coord1+1,3)
     498                coord3=math.mod(coord2+1,3)
    499499
    500500                for pc=1,parts do
Note: See TracChangeset for help on using the changeset viewer.