mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 18:39:23 +00:00
Better cohtml values parsing
This commit is contained in:
parent
85925a7072
commit
d91fe1515e
10 changed files with 94 additions and 95 deletions
|
@ -129,9 +129,9 @@ namespace ml_prm
|
|||
{
|
||||
try
|
||||
{
|
||||
if(p_newValue is KeyCode)
|
||||
if(p_newValue is KeyCode code)
|
||||
{
|
||||
HotkeyKey = (KeyCode)p_newValue;
|
||||
HotkeyKey = code;
|
||||
OnHotkeyKeyChanged.Invoke(HotkeyKey);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue