mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Fix
This commit is contained in:
@@ -154,8 +154,7 @@
|
||||
*/
|
||||
/datum/data/pda/app/mob_hunter_game/proc/remove_mob(datum/mob_hunt/mob_override = null)
|
||||
SIGNAL_HANDLER
|
||||
var/collection_length = length(my_collection)
|
||||
if(!collection_length)
|
||||
if(!length(my_collection))
|
||||
return
|
||||
|
||||
if(mob_override)
|
||||
@@ -163,6 +162,7 @@
|
||||
else
|
||||
my_collection -= my_collection[current_index]
|
||||
|
||||
var/collection_length = length(my_collection)
|
||||
if(current_index > collection_length)
|
||||
current_index = collection_length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user