Skip to content

Commit

Permalink
failsafe for material declent (#589)
Browse files Browse the repository at this point in the history
## About The Pull Request
Надо же всё-таки что-то вернуть
  • Loading branch information
larentoun authored Oct 16, 2024
1 parent 3801761 commit 9d41e48
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/datum/material/declent_ru(case_id, list/ru_names_override)
. = name
if(!ispath(sheet_type))
CRASH("Sheet type couldn't be declented because it's not a path!")
var/atom/sheet = sheet_type
Expand Down

0 comments on commit 9d41e48

Please sign in to comment.