Delta-v/Content.Server/GameTicking
ShadowCommander a985c5e83e
Fix ghosts getting spawned in nullspace (#27617)
* Add tests for ghost spawn position

* Make ghosts spawn immediately

* Format mind system

* Move ghost spawning to GhostSystem

* Spawn ghost on grid or map

This fixes the ghosts being attached the parent entity instead of the grid.

* Move logging out of the ghost system

* Make round start observer spawn using GhostSystem

* Move GameTicker ghost spawning to GhostSystem

Moved the more robust character name selection code over.
Moved the TimeOfDeath code over.
Added canReturn logic.

* Add overrides and default for ghost spawn coordinates

* Add warning log to ghost spawn fail

* Clean up test

* Dont spawn ghost on map delete

* Minor changes to the role test

* Fix role test failing to spawn ghost

It was failing the map check due to using Nullspace

* Fix ghost tests when running in parallel

Not sure what happened, but it seems to be because they were running simultaneously and overwriting values.

* Clean up ghost tests

* Test that map deletion does not spawn ghosts

* Spawn ghost on the next available map

* Disallow spawning on deleted maps

* Fix map deletion ghost test

* Cleanup
2024-05-11 11:03:40 -04:00
..
Commands Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
Components Mega Antag Refactor (#25786) 2024-04-25 11:31:45 +10:00
Events Make AdminLogsSystem an IoC manager (#8492) 2022-05-28 23:41:17 -07:00
Presets Make all prototype types partial (#21374) 2023-11-01 19:56:23 -07:00
Prototypes Make all prototype types partial (#21374) 2023-11-01 19:56:23 -07:00
Rules New event: Approaching unknown shuttle (#24490) 2024-05-10 04:35:59 -07:00
GameTicker.CVars.cs Make the round end sound collection a cvar (#25741) 2024-03-01 21:08:48 +11:00
GameTicker.GamePreset.cs Fix ghosts getting spawned in nullspace (#27617) 2024-05-11 11:03:40 -04:00
GameTicker.GameRule.cs Mega Antag Refactor (#25786) 2024-04-25 11:31:45 +10:00
GameTicker.Lobby.cs fix: lobby music volume will be changed on options change without restart (also lobby music not looped anymore) (#25530) 2024-03-02 15:40:04 -05:00
GameTicker.LobbyBackground.cs WebP lobby images (#25184) 2024-02-16 16:55:57 -07:00
GameTicker.Player.cs Fix preference loading bugs (#27742) 2024-05-07 14:21:03 +10:00
GameTicker.Replays.cs Add server name into the replay final (#25564) 2024-02-25 23:44:05 +01:00
GameTicker.RoundFlow.cs Revert "Add auto map vote cvar" (#27869) 2024-05-10 11:25:37 +10:00
GameTicker.Spawning.cs Fix ghosts getting spawned in nullspace (#27617) 2024-05-11 11:03:40 -04:00
GameTicker.StatusShell.cs Expose preset in status (#23586) 2024-01-06 14:14:25 +11:00
GameTicker.cs Mega Antag Refactor (#25786) 2024-04-25 11:31:45 +10:00
ManifestEntry.cs Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00