Merge pull request #34265 from tgstation/welostcountofhowmanycookieswerespawnedshutitalldown
fixes safety check
This commit is contained in:
committed by
CitadelStationBot
parent
b2021912d7
commit
cfa8b8bad4
@@ -187,7 +187,7 @@ Versioning
|
||||
"gun_fired" = 2)
|
||||
*/
|
||||
/datum/controller/subsystem/blackbox/proc/record_feedback(key_type, key, increment, data, overwrite)
|
||||
if(sealed || !key_type || !istext(key) || !isnum(increment) || !data)
|
||||
if(sealed || !key_type || !istext(key) || !isnum(increment || !data))
|
||||
return
|
||||
var/datum/feedback_variable/FV = find_feedback_datum(key, key_type)
|
||||
switch(key_type)
|
||||
|
||||
Reference in New Issue
Block a user