summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 983e259..446311f 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1804,7 +1804,7 @@ void HRepeater_Think( gentity_t *self )
if( ent->s.eType != ET_BUILDABLE )
continue;
- if( ent->s.modelindex == BA_H_REACTOR && ent->spawned )
+ if( ent->s.modelindex == BA_H_REACTOR && ent->spawned && ent->powered )
reactor = qtrue;
}
}