Skip to content

Commit ba8c08f

Browse files
Added a comment explaining what object_ped() means in editor.rs
I was just looking through my projects and the code and found this and saw the function name wasnt explained so I felt the need to explain it
1 parent 50b7fb8 commit ba8c08f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/game/editor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ pub fn keybind_handler(
131131
}
132132
}
133133

134+
// PED stands for Place, Edit, Delete
134135
pub fn object_ped(
135136
object_grid: &mut Vec<ObjectStruct>,
136137

@@ -263,4 +264,4 @@ pub fn draw_color_preview_boxes(
263264
_ => {}
264265
}
265266
}
266-
}
267+
}

0 commit comments

Comments
 (0)