Add new hideout ruin, fix misc ruin bugs (#13527)

This commit is contained in:
Wildkins
2022-04-18 13:15:03 -04:00
committed by GitHub
parent 7e4e54c65f
commit ef02a994fa
5 changed files with 162 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var/list/banned_ruin_ids = list()
while (remaining > 0 && length(available))
var/datum/map_template/ruin/ruin = pickweight(available)
if (ruin.spawn_cost > budget)
if (ruin.spawn_cost > remaining)
available -= ruin
continue