mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
[MIRROR] plane holder hard dels (#12635)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
f0ae51f3db
commit
ce0d5fd40d
@@ -57,7 +57,7 @@ GLOBAL_LIST_EMPTY(mining_overlay_cache)
|
||||
var/next_rock = 0
|
||||
var/archaeo_overlay = ""
|
||||
var/excav_overlay = ""
|
||||
var/obj/item/last_find
|
||||
var/last_find_name
|
||||
var/datum/artifact_find/artifact_find
|
||||
var/ignore_mapgen
|
||||
|
||||
@@ -701,10 +701,8 @@ GLOBAL_LIST_EMPTY(mining_overlay_cache)
|
||||
//some find types delete the /obj/item/archaeological_find and replace it with something else, this handles when that happens
|
||||
//yuck
|
||||
var/display_name = "Something"
|
||||
if(!X)
|
||||
X = last_find
|
||||
if(X)
|
||||
display_name = X.name
|
||||
if(last_find_name)
|
||||
display_name = last_find_name
|
||||
|
||||
//This is affected by 'prob_delicate' in finds.dm. As of writing, this has been set to 0 because the suspension field is just one extra piece that makes
|
||||
//Xenoarch that much more confusing, and the intent of this PR is to make it more friendly to get into.
|
||||
|
||||
Reference in New Issue
Block a user