diff options
Diffstat (limited to 'src/survive_data.c')
-rw-r--r-- | src/survive_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_data.c b/src/survive_data.c index ac397b9..e51de8e 100644 --- a/src/survive_data.c +++ b/src/survive_data.c @@ -13,12 +13,12 @@ void handle_lightcap( SurviveObject * so, LightcapElement * le ) //if( so->codename[0] != 'H' ) + if( le->sensor_id > SENSORS_PER_OBJECT ) { return; } - so->tsl = le->timestamp; if( le->length < 20 ) return; ///Assuming 20 is an okay value for here. |