Minor change in script order
This commit is contained in:
@@ -3,10 +3,11 @@ void onKartObjectCollision()
|
||||
if (getCollidingID()=="stklib_fitchBarreltest_a_main"){
|
||||
int kart_id = getCollidingKart1();
|
||||
Vec3 location = getKartLocation(kart_id);
|
||||
createExplosion(location);
|
||||
|
||||
disable("stklib_fitchBarreltest_a_main");
|
||||
enable("stklib_fitchBarrelTestDestroyed_a");
|
||||
enable("stklib_fitchBarrelTestcovert_a");
|
||||
createExplosion(location);
|
||||
}
|
||||
else {
|
||||
/* displayMessage("Woot! You hit item of ID: " + getCollidingID());
|
||||
|
||||
Reference in New Issue
Block a user