mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Removes most hard-coded z level checks
This commit is contained in:
@@ -376,8 +376,7 @@
|
||||
|
||||
// Bluespace tomato code copied over from grown.dm.
|
||||
if(get_trait(TRAIT_TELEPORTING))
|
||||
// TODO: Tie into space manager
|
||||
if(target.z in config.admin_levels)
|
||||
if(!is_teleport_allowed(target.z))
|
||||
return 1
|
||||
|
||||
//Plant potency determines radius of teleport.
|
||||
|
||||
Reference in New Issue
Block a user