Skip to content

Commit

Permalink
Update code/modules/psionics/interface/ui_hub.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Fluffy <[email protected]>
  • Loading branch information
NonQueueingMatt and FluffyGhoster authored Jul 28, 2023
1 parent c9d957e commit cd37922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/psionics/interface/ui_hub.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
data["psi_points"] = owner.psi.psi_points
data["bought_powers"] = owner.psi.psionic_powers
for(var/singleton/psionic_power/P in GET_SINGLETON_SUBTYPE_LIST(/singleton/psionic_power))
if((P.ability_flags & PSI_FLAG_SPECIAL) && !(P.type in owner.psi.psionic_powers))
if(HAS_FLAG(P.ability_flags, PSI_FLAG_SPECIAL) && !(P.type in owner.psi.psionic_powers))
continue
if(owner_rank < P.minimum_rank)
continue
Expand Down

0 comments on commit cd37922

Please sign in to comment.