Skip to content

Commit

Permalink
clearpipe crash in v7
Browse files Browse the repository at this point in the history
  • Loading branch information
sk7725 committed Sep 26, 2021
1 parent dec13ba commit 6e415d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/betamindy/util/Useful.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static void cutsceneEnd(){
public static boolean dumpPlayerUnit(UnitPayload u, Player player){
if(u.unit.type == null) return true;

if(!Units.canCreate(u.unit.team, u.unit.type)){
if(!Units.canCreate(u.unit.team, u.unit.type) && Version.number <= 6){
u.deactiveTime = 1f;
return false;
}
Expand Down

0 comments on commit 6e415d3

Please sign in to comment.