Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 7fa94e6

Browse files
fix again
1 parent ee3dabf commit 7fa94e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/_onclick/hud/screen_objects.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
if("allocate")
189189
if(allocated_points + params["amount"] > user.mind.skill_points)
190190
return TRUE
191-
if(allocated_points + params["amount"] < user.get_skill(params["skill"]))
191+
if(allocated_points + params["amount"] < 0)
192192
return TRUE
193193
if(allocated_skills[params["skill"]] + params["amount"] + user.get_skill(params["skill"]) > (4 + HAS_TRAIT(user, TRAIT_EXCEPTIONAL_SKILL)))
194194
return TRUE

0 commit comments

Comments
 (0)