mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Fix returns for Coal code
This commit is contained in:
@@ -28,6 +28,7 @@ int update_BCOL(UPDATE_FUNC_ARGS) {
|
||||
if (parts[r>>8].ctype == PT_IRON) {
|
||||
parts[r>>8].ctype = PT_METL;
|
||||
kill_part(i);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -35,6 +35,7 @@ int update_COAL(UPDATE_FUNC_ARGS) {
|
||||
if (parts[r>>8].ctype == PT_IRON) {
|
||||
parts[r>>8].ctype = PT_METL;
|
||||
kill_part(i);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user