diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2010-12-08 20:02:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:47 +0000 |
commit | 733c839dc1ed0524c669ee0a2f366f9c0967c10a (patch) | |
tree | 57bced0bc838ac081c9bf6d40c1da873d330de5f /src/game/g_buildable.c | |
parent | 419fef4d61933c1b4cb01d3bfe3f9a62496bec7b (diff) |
* (bug 4815) Add /pause admin command
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index e0a2e93e..da21798d 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2660,7 +2660,7 @@ void G_BuildableThink( gentity_t *ent, int msec ) int buildTime = BG_Buildable( ent->s.modelindex )->buildTime; //toggle spawned flag for buildables - if( !ent->spawned && ent->health > 0 ) + if( !ent->spawned && ent->health > 0 && !level.pausedTime ) { if( ent->buildTime + buildTime < level.time ) { |