Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 3, 2010, 3:45:59 PM (14 years ago)
Author:
scheusso
Message:

please only destroy objects (created by the Master and synchronised) on the Master (not on the clients, as this causes inconsistencies)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/src/modules/weapons/MuzzleFlash.cc

    r5929 r7336  
    4242        this->setScale(0.1f);
    4343
    44         this->delayTimer_.setTimer(0.1f, false, createExecutor(createFunctor(&MuzzleFlash::destroy, this)));
     44        if( GameMode::isMaster() )
     45          this->delayTimer_.setTimer(0.1f, false, createExecutor(createFunctor(&MuzzleFlash::destroy, this)));
    4546    }
    4647}
Note: See TracChangeset for help on using the changeset viewer.