mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
switch spawn pools from using IDs to typerefs (#29227)
This commit is contained in:
committed by
GitHub
parent
5039d1c84b
commit
04f5a04f32
@@ -2,8 +2,6 @@
|
||||
/// spawners that need to keep track globally of the number of any specific item
|
||||
/// that they spawn.
|
||||
/datum/spawn_pool
|
||||
/// The ID of the spawn pool. All spawners registered to this pool must use this ID.
|
||||
var/id
|
||||
/// The number of points left for the spawner to use. Starts at its initial value.
|
||||
var/available_points = 0
|
||||
/// A list of all spawners registered to this pool.
|
||||
@@ -56,6 +54,6 @@
|
||||
|
||||
qdel(spawner)
|
||||
|
||||
log_game("finished spawner [id] with [length(known_spawners)] remaining spawners and [available_points] points remaining.")
|
||||
log_game("finished spawner [type] with [length(known_spawners)] remaining spawners and [available_points] points remaining.")
|
||||
|
||||
QDEL_LIST_CONTENTS(known_spawners)
|
||||
|
||||
Reference in New Issue
Block a user