mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Fix particles not actually being assumed to be particles (#275)
* Fix particles not actually being assumed to be particles * Adds requested unit test
This commit is contained in:
parent
b069b57cb0
commit
ea3c44d56b
2 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ fn field_access() {
|
|||
var/list/L = list()
|
||||
L[1].name
|
||||
L?[1].name
|
||||
var/atom/movable/particle_holder = new
|
||||
particle_holder.particles.height
|
||||
"##.trim();
|
||||
check_errors_match(code, FIELD_ACCESS_ERRORS);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -692,7 +692,7 @@ pub fn register_builtins(tree: &mut ObjectTree) {
|
|||
atom/movable/var/tmp/list/locs; // not editable
|
||||
atom/movable/var/screen_loc;
|
||||
atom/movable/var/glide_size = int!(0);
|
||||
atom/movable/var/particles;
|
||||
atom/movable/var/particles/particles;
|
||||
atom/movable/var/step_size = int!(32);
|
||||
atom/movable/var/step_x = int!(0);
|
||||
atom/movable/var/step_y = int!(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue