Changeset 5855


Ignore:
Timestamp:
11/20/16 12:48:38 (3 years ago)
Author:
Bluestone
Message:

fix model.name vs modelname

Location:
branches/BAR/lups/particleclasses
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/BAR/lups/particleclasses/unitcloaker.lua

    r1866 r5855  
    260260 
    261261function UnitCloaker:CreateParticle() 
    262   self.isS3o = (UnitDefs[self.unitDefID].model.name:lower():find("s3o") and true) 
     262  self.isS3o = (UnitDefs[self.unitDefID].modelname:lower():find("s3o") and true) 
    263263  self.firstGameFrame = thisGameFrame 
    264264  self.dieGameFrame   = self.firstGameFrame + self.life 
  • branches/BAR/lups/particleclasses/unitjitter.lua

    r1866 r5855  
    254254 
    255255function UnitJitter:CreateParticle() 
    256   self.isS3o = (UnitDefs[self.unitDefID].model.name:lower():find("s3o") and true) 
     256  self.isS3o = (UnitDefs[self.unitDefID].modelname:lower():find("s3o") and true) 
    257257  self.teamColor = {spGetTeamColor(self.team)} 
    258258  self.firstGameFrame = thisGameFrame 
Note: See TracChangeset for help on using the changeset viewer.