mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MDB IGNORE] More /area/ typepath organization and cleanup (#67107)
This further continues what I did in b4fb8f3ed1 (but instead of just stations, its now every (most) applicable area in the game
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
/obj/item/gun/magic/process_fire(atom/target, mob/living/user, message, params, zone_override, bonus_spread)
|
||||
if(no_den_usage)
|
||||
var/area/A = get_area(user)
|
||||
if(istype(A, /area/wizard_station))
|
||||
if(istype(A, /area/centcom/wizard_station))
|
||||
add_fingerprint(user)
|
||||
to_chat(user, span_warning("You know better than to violate the security of The Den, best wait until you leave to use [src]."))
|
||||
return
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
if(target == user)
|
||||
if(no_den_usage)
|
||||
var/area/A = get_area(user)
|
||||
if(istype(A, /area/wizard_station))
|
||||
if(istype(A, /area/centcom/wizard_station))
|
||||
to_chat(user, span_warning("You know better than to violate the security of The Den, best wait until you leave to use [src]."))
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user