From f61d1c10fa6f39793aa5a410e129093250601cbb Mon Sep 17 00:00:00 2001 From: Gilgamesh <159903642+GoogleRa@users.noreply.github.com> Date: Thu, 22 Jan 2026 23:17:43 +0300 Subject: [PATCH] Update scripting.lua Fixed an issue with the "Emotes of Night City" mod's emote selection menu support. --- .../mods/cyberscript/mod/modules/scripting.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/x64/plugins/cyber_engine_tweaks/mods/cyberscript/mod/modules/scripting.lua b/bin/x64/plugins/cyber_engine_tweaks/mods/cyberscript/mod/modules/scripting.lua index 59f952d..577704b 100644 --- a/bin/x64/plugins/cyber_engine_tweaks/mods/cyberscript/mod/modules/scripting.lua +++ b/bin/x64/plugins/cyber_engine_tweaks/mods/cyberscript/mod/modules/scripting.lua @@ -5029,13 +5029,13 @@ function refreshModVariable(active) setVariable("player_rotation","yaw",ftos(curRot.yaw)) setVariable("player_rotation","pitch",ftos(curRot.pitch)) setVariable("player_rotation","roll",ftos(curRot.roll)) - - - setVariable("game_time","day",GetSingleton('GameTime'):Days(gameTime)) - setVariable("game_time","hour",GetSingleton('GameTime'):Hours(gameTime)) - setVariable("game_time","min",GetSingleton('GameTime'):Minutes(gameTime)) - setVariable("game_time","sec",GetSingleton('GameTime'):Seconds(gameTime)) - + + --Fix by Zoliquen and Gilgamesh + setVariable("game_time","day", currentTime.day) + setVariable("game_time","hour", currentTime.hour) + setVariable("game_time","min", currentTime.min) + setVariable("game_time","sec", currentTime.sec) + --End of fix setScore("player","money",getStackableItemAmount("Items.money"))