Skip to content

Commit b88c085

Browse files
committed
Append VM to client details
Client login data now always shows primary OS and includes any additional VM information.
1 parent fb90faf commit b88c085

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

com/smartfoxserver/v2/SmartFox.hx

+6-2
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,6 @@ class SmartFox extends EventDispatcher
881881
private var _clientDetails:String =
882882
#if flash
883883
"Flash"
884-
#elseif neko
885-
"Neko"
886884
#elseif linux
887885
"Linux"
888886
#elseif windows
@@ -898,6 +896,12 @@ class SmartFox extends EventDispatcher
898896
#else
899897
"Unknown"
900898
#end
899+
// Append VM type, if any
900+
#if hl
901+
+ " (HashLink)"
902+
#elseif neko
903+
+ " (Neko)"
904+
#end
901905
;
902906

903907
/**

0 commit comments

Comments
 (0)