mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
corrects a few del's
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
/client/proc/SDQL2_query(query_text as message)
|
||||
set category = "Debug"
|
||||
|
||||
|
||||
if(!check_rights(R_PROCCALL)) //Shouldn't happen... but just to be safe.
|
||||
message_admins("<span class='danger'>ERROR: Non-admin [key_name_admin(usr)] attempted to execute a SDQL query!</span>")
|
||||
log_admin("Non-admin [key_name(usr)] attempted to execute a SDQL query!")
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
if("delete")
|
||||
for(var/datum/d in objs)
|
||||
del d
|
||||
del(d)
|
||||
|
||||
if("select")
|
||||
var/text = ""
|
||||
@@ -474,4 +474,3 @@
|
||||
if(word != "")
|
||||
query_list += word
|
||||
return query_list
|
||||
|
||||
@@ -321,7 +321,7 @@ var/global/dmm_suite/preloader/_preloader = null
|
||||
/dmm_suite/preloader/New(var/list/the_attributes, var/path)
|
||||
.=..()
|
||||
if(!the_attributes.len)
|
||||
Del()
|
||||
del(src)
|
||||
return
|
||||
attributes = the_attributes
|
||||
target_path = path
|
||||
@@ -329,4 +329,4 @@ var/global/dmm_suite/preloader/_preloader = null
|
||||
/dmm_suite/preloader/proc/load(atom/what)
|
||||
for(var/attribute in attributes)
|
||||
what.vars[attribute] = attributes[attribute]
|
||||
Del()
|
||||
del(src)
|
||||
@@ -366,7 +366,7 @@
|
||||
else //We are deconstructing, make glass sheets instead of shards
|
||||
var/sheets = shard_count + 1 //Deconstructing it salvages all the glass used to build the tank
|
||||
new /obj/item/stack/sheet/glass(get_turf(src), sheets) //Produce the appropriate number of glass sheets, in a single stack
|
||||
qdel(src) //QDel the tank and it's contents
|
||||
qdel(src) //qdel the tank and it's contents
|
||||
T.air_update_turf(1) //Update the air for the turf, to avoid permanent atmos sealing with wall tanks
|
||||
|
||||
/obj/machinery/fishtank/proc/spill_water()
|
||||
|
||||
@@ -46,7 +46,7 @@ var/const/Represents a special statement in the code triggered by a keyword.
|
||||
nS_Keyword
|
||||
New(inline=0)
|
||||
if(inline)
|
||||
del src
|
||||
del(src)
|
||||
|
||||
kwReturn
|
||||
Parse(n_Parser/nS_Parser/parser)
|
||||
|
||||
Reference in New Issue
Block a user