mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
Cleans up some extra args in Destroy() (#80642)
## About The Pull Request After https://github.com/tgstation/tgstation/pull/80628, these shouldn't be needed anymore right? ## Why It's Good For The Game Cleans up some vestigial code ## Changelog EDIT: Not player-facing.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
src.game_id = game_id
|
||||
GLOB.ctf_games[game_id] = src
|
||||
|
||||
/datum/ctf_controller/Destroy(force, ...)
|
||||
/datum/ctf_controller/Destroy(force)
|
||||
GLOB.ctf_games[game_id] = null
|
||||
return ..()
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
team_span = spawner.team_span
|
||||
|
||||
///If the team is destroyed all players in that team need their componenet removed.
|
||||
/datum/ctf_team/Destroy(force, ...)
|
||||
/datum/ctf_team/Destroy(force)
|
||||
for(var/player in team_members)
|
||||
var/datum/component/ctf_player/ctf_player = team_members[player]
|
||||
ctf_player.end_game()
|
||||
|
||||
Reference in New Issue
Block a user