mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Merge pull request #11612 from Verkister/patch-83
Fixes runtime with tesh custom species
This commit is contained in:
@@ -81,6 +81,8 @@
|
||||
var/list/blacklist = list("type", "loc", "client", "ckey")
|
||||
//Makes thorough copy of species datum.
|
||||
for(var/i in vars)
|
||||
if(!(i in S.vars)) //Don't copy incompatible vars.
|
||||
continue
|
||||
if(S.vars[i] != vars[i] && !islist(vars[i])) //If vars are same, no point in copying.
|
||||
if(i in blacklist)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user