Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarStatusController.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-07-31 08:40:56 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-07-31 08:40:56 +1000
commit42acfb3f2d27a7ca91868d628d715e6c0fcb5a93 (patch)
tree2a8e3d560c45e98399e925761b1a56fbe9e4ced5 /source/game/StarStatusController.cpp
parent420f1d97312702b238fc98237285cdc2fe02684a (diff)
fix F16-F24 keys offsetting keycodes, add key name to canvas key callback args
Diffstat (limited to 'source/game/StarStatusController.cpp')
-rw-r--r--source/game/StarStatusController.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/game/StarStatusController.cpp b/source/game/StarStatusController.cpp
index 98bb207..5a87874 100644
--- a/source/game/StarStatusController.cpp
+++ b/source/game/StarStatusController.cpp
@@ -28,8 +28,6 @@ StatusController::StatusController(Json const& config) : m_statCollection(config
m_primaryScript.setScripts(jsonToStringList(config.get("primaryScriptSources", JsonArray())));
m_primaryScript.setUpdateDelta(config.getUInt("primaryScriptDelta", 1));
- m_primaryScript.setUpdateDelta(config.getUInt("primaryScriptDelta", 1));
-
uint64_t keepDamageSteps = config.getUInt("keepDamageNotificationSteps", 120);
m_recentHitsGiven.setHistoryLimit(keepDamageSteps);
m_recentDamageGiven.setHistoryLimit(keepDamageSteps);