SnpM / LockstepFramework

Framework for lockstep RTS, TD, and MOBA games.
MIT License
1.39k stars 348 forks source link

Immovable Flag Disables Getting Attacked #157

Closed zzuumm closed 6 years ago

zzuumm commented 6 years ago

I found this behaviour that after checking LSBody Immovable flag on a building (or any agent in general) it won't be attacked anymore.

SnpM commented 6 years ago

Ah, this was a bug introduced by an optimization that assumed immovable objects were static. Scan now checks that immovable object array as well.