make new rna variables more consistant with existing names.
[blender.git] / release / scripts / startup / bl_ui / properties_game.py
index 26b95484b282f0f27d8a0d8882842fc8ed76a583..469c1e68706ba32e8a198bbea95605d7875b6524 100644 (file)
@@ -209,14 +209,14 @@ class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel):
     def draw_header(self, context):
         game = context.active_object.game
 
-        self.layout.prop(game, "create_obstacle", text="")
+        self.layout.prop(game, "use_obstacle_create", text="")
 
     def draw(self, context):
         layout = self.layout
 
         game = context.active_object.game
 
-        layout.active = game.create_obstacle
+        layout.active = game.use_obstacle_create
 
         row = layout.row()
         row.prop(game, "obstacle_radius", text="Radius")