Skip to content

Commit

Permalink
Ignore skill requirements with debug hammerspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Jan 28, 2020
1 parent 5029803 commit fff89e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/activity_handlers.cpp
Expand Up @@ -3336,7 +3336,7 @@ void activity_handlers::build_do_turn( player_activity *act, player *p )
}
// if you ( or NPC ) are finishing someone elses started construction...
const construction &built = pc->id.obj();
if( !p->meets_skill_requirements( built ) ) {
if( !p->has_trait( trait_DEBUG_HS ) && !p->meets_skill_requirements( built ) ) {
add_msg( m_info, _( "%s can't work on this construction anymore." ), p->disp_name() );
p->cancel_activity();
if( p->is_npc() ) {
Expand Down

0 comments on commit fff89e7

Please sign in to comment.