mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 00:14:30 +08:00
fix: 传送门 & 视角
This commit is contained in:
1 parent
cd9c95d24d
commit
7581a5ae5d
13 files changed
+158
-32
No files matched your search
@@ -46,7 +46,8 @@ const haloColor: Record<number, string[]> = {
|
||||
25: ['purple'],
|
||||
26: ['blue'],
|
||||
27: ['red'],
|
||||
29: ['#3CFF49']
|
||||
29: ['#3CFF49'],
|
||||
31: ['#51E9FF']
|
||||
};
|
||||
|
||||
class Halo extends Sprite {
|
||||
|
||||
@@ -44,7 +44,6 @@ export {};
|
||||
delete core.status.mapBlockObjs[data];
|
||||
core.extractBlocks(data);
|
||||
if (data === core.status.floorId) {
|
||||
core.drawMap(data);
|
||||
let weather = core.getFlag('__weather__', null);
|
||||
if (!weather && core.status.thisMap.weather)
|
||||
weather = core.status.thisMap.weather;
|
||||
@@ -54,6 +53,12 @@ export {};
|
||||
core.updateStatusBar(true, true);
|
||||
}
|
||||
Mota.require('module', 'Shadow').Shadow.update(true);
|
||||
const Binder = Mota.require('module', 'Render').LayerGroupFloorBinder;
|
||||
Binder.activedBinder.forEach(v => {
|
||||
if (v.getFloor() === core.status.floorId) {
|
||||
v.updateBindData();
|
||||
}
|
||||
});
|
||||
console.log(`Floor hot reload: ${data}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user