mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-25 16:33:20 +08:00
Merge pull request #506 from ritiek/fairydust
Accept "fairydust" as an emit type in ba.emitfx()
This commit is contained in:
commit
49cc351c08
@ -2,6 +2,7 @@
|
||||
- Cleaned up the efro.message system to isolate response types that are used purely internally (via a new SysResponse type).
|
||||
- Fixed bug with 'Disable Camera Shake' option. (GitHub #511)
|
||||
- Fixed an issue where Co-op football would play no music.
|
||||
- Accept "fairydust" as an emit type in `ba.emitfx()`.
|
||||
|
||||
### 1.7.8 (build 20871, api 7, 2022-09-21)
|
||||
- Fixed tournament scores submits which were broken in 1.7.7 (oops).
|
||||
|
||||
@ -1 +1 @@
|
||||
139020022013133168311319486434408589898
|
||||
139020022013133168311319486434408589898
|
||||
|
||||
@ -327,6 +327,8 @@ auto PyEmitFx(PyObject* self, PyObject* args, PyObject* keywds) -> PyObject* {
|
||||
emit_type = BGDynamicsEmitType::kDistortion;
|
||||
} else if (!strcmp(emit_type_str, "flag_stand")) {
|
||||
emit_type = BGDynamicsEmitType::kFlagStand;
|
||||
} else if (!strcmp(emit_type_str, "fairydust")) {
|
||||
emit_type = BGDynamicsEmitType::kFairyDust;
|
||||
} else {
|
||||
throw Exception("Invalid emit type: '" + std::string(emit_type_str) + "'.",
|
||||
PyExcType::kValue);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user