Skip to content

Commit

Permalink
it *still* doesn't work and I *still* have no idea why
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Feb 20, 2025
1 parent ee38d34 commit 47dc471
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion OpenDreamClient/Rendering/ClientDreamParticlesSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace OpenDreamClient.Rendering;
public sealed class ClientDreamParticlesSystem : SharedDreamParticlesSystem
{
[Dependency] private readonly ParticlesManager _particlesManager = default!;
[Dependency] private readonly IResourceCache _resourceCache = default!;
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly ClientAppearanceSystem _appearanceSystem = default!;
[Dependency] private readonly IClyde _clyde = default!;
Expand Down
2 changes: 1 addition & 1 deletion OpenDreamRuntime/Objects/Types/DreamObjectParticles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public DreamObjectParticles(DreamObjectDefinition objectDefinition) : base(objec
ParticlesComponent = EntityManager.AddComponent<DreamParticlesComponent>(Entity);
//populate component with settings from type
foreach(KeyValuePair<string,DreamValue> kv in objectDefinition.Variables){
if(objectDefinition.ConstVariables is not null && !objectDefinition.ConstVariables.Contains(kv.Key))
if(!(kv.Key == "parent_type" || kv.Key == "type" || kv.Key == "vars"))
SetVar(kv.Key, kv.Value);
}
//check if I need to manually send update events to the component?
Expand Down
6 changes: 5 additions & 1 deletion TestGame/code.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
desc = "Such a beautiful smile."
gender = MALE
see_invisible = 101
particles = new /particles/swarm/bees


New()
..()
Expand All @@ -91,6 +91,10 @@
world.log << "login ran"
src.client.screen += new /obj/order_test_item/plane_master //used for render tests

verb/add_particles()
particles = new /particles/swarm/bees
usr << "not the bees!"

verb/winget_test()
usr << "windows: [json_encode(winget(usr, null, "windows"))]"
usr << "panes: [json_encode(winget(usr, null, "panes"))]"
Expand Down

0 comments on commit 47dc471

Please sign in to comment.