- add: new tiles and another ui tweaks (#11)

* - fix: audio crash

* - tweak: main menu

* connect gui

* some shaders here

* tiles
This commit is contained in:
rhailrake
2024-01-31 15:08:17 +00:00
committed by GitHub
parent 177d295346
commit 483ab4eb2c
66 changed files with 342 additions and 187 deletions

View File

@@ -48,7 +48,11 @@ public sealed class OnDeath : EntitySystem
}
var newStream = _audio.PlayEntity(HeartSounds, uid, uid, AudioParams.Default.WithLoop(true));
_playingStreams[uid] = newStream.Value.Entity;
if (newStream.HasValue)
{
_playingStreams[uid] = newStream.Value.Entity;
}
}
private void StopPlayingStream(EntityUid uid)